/* Tixbox Option 5 — "Marketplace" — booking-site UX pattern, original visuals.
   Hero with tabbed search · listing cards with photos+save+rating · category circles ·
   host/promoter strips · soft rounded everything. */

:root {
  --o5-bg: #fefdfb;
  --o5-surface: #ffffff;
  --o5-surface-2: #f7f5f0;
  --o5-ink: #1a1a1a;
  --o5-ink2: #6b6b6b;
  --o5-ink3: #b3b3b3;
  --o5-line: #ececec;
  --o5-accent: #ff6f3c;       /* warm terracotta */
  --o5-accent-soft: #fff1e9;
  --o5-rate: #f0a500;
  --o5-edge: clamp(16px, 3vw, 40px);

  --o5-r-sm: 12px;
  --o5-r: 18px;
  --o5-r-lg: 28px;
  --o5-r-xl: 40px;

  --o5-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  --o5-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

.o5[data-theme="dark"] {
  --o5-bg: #141414;
  --o5-surface: #000000;
  --o5-surface-2: #0a0a0a;
  --o5-ink: #ffffff;
  --o5-ink2: #cfcfcf;
  --o5-ink3: #7a7a7a;
  --o5-line: #2a2a2a;
  --o5-accent-soft: #2a1a14;
}
.o5[data-theme="dark"],
.o5[data-theme="dark"] body,
.o5[data-theme="dark"] .o5-app { background: #141414; }
.o5[data-theme="dark"] .o5-top { background: #141414; border-bottom-color: var(--o5-line); }
.o5[data-theme="dark"] .o5-section-head .l h2 { color: #ffffff; }
.o5[data-theme="dark"] .o5-listing-price b { color: #ffffff; }
.o5[data-theme="dark"] .o5-listing-price span { color: #ffffff; }
.o5[data-theme="dark"] .o5-news,
.o5[data-theme="dark"] .o5-news form { background: #000; border: 1px solid var(--o5-line); }
.o5[data-theme="dark"] .o5-news form input { color: #fff; }
.o5[data-theme="dark"] .o5-banner { background: #000; border: 1px solid var(--o5-line); }
.o5[data-theme="dark"] .o5-listing,
.o5[data-theme="dark"] .o5-promoter,
.o5[data-theme="dark"] .o5-tag,
.o5[data-theme="dark"] .o5-search,
.o5[data-theme="dark"] .o5-arrows-btn,
.o5[data-theme="dark"] .o5-avatar-pill,
.o5[data-theme="dark"] .o5-mega,
.o5[data-theme="dark"] .o5-pop { background: #000; }
.o5[data-theme="dark"] .o5-tag { color: #fff; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.o5 {
  font-family: var(--o5-body);
  background: var(--o5-bg);
  color: var(--o5-ink);
  -webkit-font-smoothing: antialiased;
}
.o5 a { color: inherit; text-decoration: none; }
.o5 button { font-family: inherit; cursor: pointer; }
.o5 input, .o5 select { font-family: inherit; }

/* ── Top bar (cylinder/pill header) ── */
.o5-top {
  position: sticky; top: 14px; z-index: 100;
  background: transparent;
  border-bottom: 0;
  padding: 14px var(--o5-edge) 0;
  /* spacer below so subsequent content has breathing room */
  margin-bottom: 6px;
  pointer-events: none; /* let inner pill receive clicks; transparent surround does not */
}
.o5-top > * { pointer-events: auto; }
.o5-top-inner {
  /* Match the billboard's edge gutter — fill the viewport with var(--o5-edge)
     on each side so the header pill aligns with the billboard sides. */
  margin: 0 auto;
  display: flex; align-items: center;
  gap: 10px;
  /* Inset content slightly so the brand mark + right cluster don't kiss the rounded ends. */
  padding: 8px 14px 8px 36px;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  border-radius: 999px;
  box-shadow: 0 4px 18px -10px rgba(0,0,0,0.10), 0 18px 42px -28px rgba(0,0,0,0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.o5-top-inner .o5-brand { margin-right: 6px; }
.o5-top-inner .o5-segpill { margin-left: 18px; }
.o5[data-theme="dark"] .o5-top-inner {
  background: #1a1a1a;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 18px -10px rgba(0,0,0,0.6), 0 18px 42px -28px rgba(0,0,0,0.9);
}
.o5-top-inner > .o5-top-r { margin-left: auto; }
.o5-brand {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
}
.o5-brand .o5-mark {
  width: 38px; height: 38px;
  background: url('assets/tb-icon.png') center/contain no-repeat;
  border-radius: 8px;
  display: inline-block; position: relative;
}
.o5-brand .o5-mark::after { content: none; }
.o5-brand span:not(.o5-mark) { display: inline-block; }

/* ── Segmented nav pill (Tickets / Accommodation / Services / Shop / Clients)
   Clicking any segment opens the Mega Dropdown (window.txOpenMegaDD).  ── */
.o5-segpill {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--o5-surface-2);
  border: 1px solid var(--o5-line);
  gap: 0;
  flex: none;
}
.o5[data-theme="dark"] .o5-segpill {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.o5-segpill button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 700;
  color: var(--o5-ink2, #6b6b6b);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.o5-segpill button:hover { color: var(--o5-ink); }
.o5-segpill button.is-on {
  background: var(--o5-red, #d62133);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(214,33,51,0.5);
}
@media (max-width: 1100px) {
  .o5-segpill button { padding: 9px 14px; font-size: 12.5px; }
}
@media (max-width: 900px) {
  .o5-segpill { display: none; }
}

.o5-nav {
  display: flex; gap: 8px; align-items: center;
}
.o5-nav a {
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  position: relative;
}
.o5-nav a:hover { border-color: var(--o5-ink); color: var(--o5-ink); }
.o5-nav a.is-active,
.o5-nav-trigger.is-active {
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-color: var(--o5-ink);
}
.o5-nav a.is-active:hover,
.o5-nav-trigger.is-active:hover {
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-color: var(--o5-ink);
}
.o5-nav a .o5-nav-tag {
  position: static;
  font-size: 9px; font-weight: 700;
  background: var(--o5-accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.o5-nav-pop { position: relative; display: inline-flex; }
.o5-nav-trigger {
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--o5-ink);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.o5-nav-trigger:hover { border-color: var(--o5-ink); }
.o5-nav-caret { transition: transform 0.18s ease; }
.o5-nav-caret.is-open { transform: rotate(180deg); }
.o5-nav-trigger.is-open {
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-color: var(--o5-ink);
}

.o5-mega {
  position: absolute;
  top: calc(100% + 10px); left: 0;  z-index: 120;
  width: 380px;
  padding: 12px;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  border-radius: 22px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 10px;
}
.o5-mega-list { display: flex; flex-direction: column; gap: 4px; }
.o5-mega-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--o5-ink);
  transition: background 0.15s ease;
}
.o5-mega-item:hover { background: var(--o5-surface-2); }
.o5-mega-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--o5-surface-2);
  border-radius: 50%;
  color: var(--o5-ink);
}
.o5-mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.o5-mega-title {
  font-size: 13.6px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--o5-ink);
}
.o5-mega-sub {
  font-size: 11px; color: var(--o5-ink-2);
  font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.o5-mega-foot {
  margin-top: 4px;
  padding: 14px 12px;
  background: var(--o5-surface-2);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.o5-mega-foot-title {
  font-size: 12.75px; font-weight: 700; color: var(--o5-ink);
  letter-spacing: -0.01em;
}
.o5-mega-foot-sub {
  font-size: 10.6px; color: var(--o5-ink-2);
  line-height: 1.45;
}

.o5-top-r { display: flex; align-items: center; gap: 8px; }
.o5-link-btn {
  background: transparent; border: 0;
  font-size: 14px; font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--o5-ink);
}
.o5-link-btn:hover { background: var(--o5-surface-2); }
.o5-link-btn.is-primary {
  background: var(--o5-ink);
  color: var(--o5-surface);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.o5-link-btn.is-primary:hover {
  background: color-mix(in srgb, var(--o5-ink) 88%, transparent);
}
.o5-link-btn.is-outline {
  background: transparent;
  color: var(--o5-ink);
  border: 1px solid var(--o5-line);
  padding: 8px 17px;
  border-radius: 999px;
  font-weight: 600;
}
.o5-link-btn.is-outline:hover {
  background: var(--o5-surface-2);
  border-color: var(--o5-ink);
}

.o5-pop-wrap { position: relative; display: inline-flex; }
.o5-iconbtn.is-open { background: var(--o5-surface-2); }

/* "Browse" nav drawer trigger pill — matches .o5-nav pill style */
.o5-burger {
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--o5-line);
  background: var(--o5-surface);
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--o5-ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
  margin: 0 4px 0 6px;
}
.o5-burger:hover { border-color: var(--o5-ink); }
.o5-burger.is-open {
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-color: var(--o5-ink);
}

/* Nav drawer — slides from LEFT */
.o5-pop.o5-nav-drawer {
  position: fixed;
  top: 16px; left: 16px; bottom: 16px;
  right: auto;
  height: calc(100vh - 32px);
  width: 320px;
  max-width: 92vw;
  margin: 0;
  padding: 0;
  border-radius: 22px;
  border: 1px solid var(--o5-line);
  box-shadow: 0 30px 80px -16px rgba(0,0,0,0.35);
  overflow-y: auto;
  z-index: 9100;
  animation: o5-nav-slide .42s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
  font-family: var(--o5-display);
  background: var(--o5-surface);
}
@keyframes o5-nav-slide {
  from { transform: translateX(-110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.o5-pop.o5-nav-drawer.is-closing { animation: o5-nav-slide-out .32s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes o5-nav-slide-out {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-110%); opacity: 0; }
}
.o5-nav-drawer-list {
  display: flex; flex-direction: column;
  padding: 8px 12px 14px;
  gap: 2px;
}
.o5-nav-drawer-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--o5-display);
  font-size: 14.5px; font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--o5-ink);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.o5-nav-drawer-list a:hover { background: var(--o5-surface-2); transform: translateX(2px); }
.o5-nav-drawer-list a span {
  width: 26px;
  font-size: 17px;
  display: inline-flex;
  flex: none;
}
.o5-nav-drawer-divider {
  height: 1px;
  background: var(--o5-line);
  margin: 8px 14px;
}

/* Header drawer (Cart + Settings) — slides in from right (D2 floating) */
.o5-cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,20,20,0.3);
  z-index: 9000;
  animation: o5-drawer-fade .4s ease;
  backdrop-filter: blur(2px);
}
@keyframes o5-drawer-fade {
  from { opacity: 0; backdrop-filter: blur(0); }
  to   { opacity: 1; backdrop-filter: blur(2px); }
}
.o5-pop.o5-set-pop,
.o5-pop.o5-cart-pop {
  position: fixed;
  top: 16px; right: 16px; bottom: 16px;
  height: calc(100vh - 32px);
  width: 440px;
  max-width: 92vw;
  margin: 0;
  border-radius: 22px;
  border: 1px solid var(--o5-line);
  box-shadow: 0 30px 80px -16px rgba(0,0,0,0.35);
  overflow-y: auto;
  z-index: 9100;
  animation: o5-drawer-slide .42s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
  font-family: var(--o5-display);
}
@keyframes o5-drawer-slide {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* Closing animations (added when drawer is being dismissed) */
.o5-pop.o5-set-pop.is-closing,
.o5-pop.o5-cart-pop.is-closing {
  animation: o5-drawer-slide-out .32s cubic-bezier(.4,0,.6,1) forwards;
}
@keyframes o5-drawer-slide-out {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}
.o5-cart-backdrop.is-closing {
  animation: o5-drawer-fade-out .32s ease forwards;
}
@keyframes o5-drawer-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.o5-drawer-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--o5-line);
  background: var(--o5-surface);
  color: var(--o5-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
  z-index: 2;
}
.o5-drawer-close:hover {
  background: var(--o5-ink);
  color: #fff;
  border-color: var(--o5-ink);
  transform: rotate(90deg);
}

.o5-pop {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  z-index: 100;
  min-width: 160px;
  padding: 6px;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  border-radius: 14px;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
}
.o5-pop-item {
  text-align: left;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14px; font-weight: 500;
  color: var(--o5-ink);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.o5-pop-item:hover { background: var(--o5-surface-2); }
.o5-pop-item.is-active { background: var(--o5-ink); color: var(--o5-surface); font-weight: 600; }

.o5-top-divider {
  width: 1px; height: 22px;
  background: var(--o5-line);
  margin: 0 4px;
}

.o5-theme-pill {
  position: relative;
  width: 72px; height: 36px;
  border-radius: 999px;
  background: var(--o5-surface-2);
  border: 1px solid var(--o5-line);
  padding: 0;
  cursor: pointer;
  flex: none;
}
.o5-theme-track {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px;
  color: var(--o5-ink2);
  pointer-events: none;
}
.o5-theme-icon { display: inline-flex; }
.o5-theme-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--o5-ink);
  color: var(--o5-surface);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.o5-theme-thumb[data-theme="dark"] { transform: translateX(34px); }
.o5-iconbtn {
  width: auto; min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--o5-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px; font-weight: 600;
  transition: background .15s ease;
}
.o5-iconbtn-label { letter-spacing: 0.02em; }
.o5-iconbtn:hover { background: color-mix(in srgb, var(--o5-ink) 8%, var(--o5-surface-2)); }

/* Cart button + popover --------------------------------------------------- */
.o5-cartbtn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.o5-cartbtn:hover { border-color: var(--o5-ink); }
.o5-cartbtn.o5-cartbtn-icon {
  padding: 0;
  width: 38px; height: 38px;
  justify-content: center;
  gap: 0;
}
.o5-cartbtn.is-open {
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-color: var(--o5-ink);
}
.o5-cartbtn-label { letter-spacing: -0.005em; }

.o5-cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  margin-left: 2px;
  background: #d62133;
  color: #fff;
  font-family: var(--o5-display);
  font-size: 11px; font-weight: 800;
  border-radius: 999px;
  line-height: 1;
}
.o5-cartbtn.is-open .o5-cart-badge { background: var(--o5-bg); color: var(--o5-ink); }

.o5-cart-pop {
  width: 420px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  font-family: var(--o5-body);
}

/* ─── White header band (matches Preferences/Setting header) ─── */
.o5-cart-band {
  background: var(--o5-surface);
  color: var(--o5-ink);
  border-bottom: 1px solid var(--o5-line);
  padding: 18px 22px 14px;
  display: flex; align-items: center; gap: 10px;
}
.o5-cart-band .l {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--o5-display);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--o5-ink);
}
.o5-cart-band .count {
  min-width: 26px; height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #d62133;
  color: #fff;
  font-family: var(--o5-display);
  font-size: 12.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ─── Cream cylinder rows · swipe to delete (D1) ─── */
.o5-cart-list {
  list-style: none; margin: 0; padding: 18px 18px 10px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 520px; overflow-y: auto;
}
.o5-cart-row-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}
.o5-cart-row-slide {
  position: relative;
  transition: transform .25s ease;
  cursor: grab;
  touch-action: pan-y;
  z-index: 1;
  user-select: none;
  background: var(--o5-surface);
  border-radius: 12px;
}
.o5-cart-row-slide:active { cursor: grabbing; }
.o5-cart-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--o5-surface-2);
  border-radius: 12px;
}
.o5-cart-thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--o5-silver);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  overflow: hidden;
}
.o5-cart-thumb-img {
  display: block;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 55%),
    linear-gradient(135deg, oklch(0.88 0.06 60), oklch(0.82 0.08 30));
}
.o5-cart-thumb-img[data-kind="tickets"]              { background: linear-gradient(135deg, oklch(0.86 0.07 30), oklch(0.78 0.1 25)); }
.o5-cart-thumb-img[data-kind="merchandise"]          { background: linear-gradient(135deg, oklch(0.82 0.08 250), oklch(0.74 0.1 240)); }
.o5-cart-thumb-img[data-kind="hospitality package"]  { background: linear-gradient(135deg, oklch(0.82 0.08 90), oklch(0.74 0.1 80)); }
.o5-cart-thumb-img[data-kind="add-on"],
.o5-cart-thumb-img[data-kind="add on"]               { background: linear-gradient(135deg, oklch(0.83 0.07 160), oklch(0.74 0.09 150)); }
.o5-cart-thumb-img[data-kind="concession"]           { background: linear-gradient(135deg, oklch(0.86 0.07 60), oklch(0.78 0.09 50)); }
.o5-cart-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.o5-cart-body strong {
  font-family: var(--o5-display);
  font-size: 13.5px; font-weight: 800;
  letter-spacing: -0.012em;
  color: var(--o5-ink);
  line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.o5-cart-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: #fff;
  color: var(--o5-ink);
  border: 1px solid var(--o5-silver);
  font-family: var(--o5-mono, ui-monospace, monospace);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.o5-cart-right { display: flex; align-items: center; justify-content: flex-end; }
.o5-cart-price {
  font-family: var(--o5-display);
  font-size: 13.5px; font-weight: 800;
  letter-spacing: -0.012em;
  color: var(--o5-ink);
  white-space: nowrap;
}
.o5-cart-row-trash {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 72px;
  border: 0;
  background: #d62133;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 12px;
  transition: background .15s;
  z-index: 0;
}
.o5-cart-row-trash:hover { background: #b91c2c; }
.o5-cart-row-trash-ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #d62133;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Hover state on rows (subtle — no lift, no shadow) */
.o5-cart-row-wrap:hover .o5-cart-item {
  background: var(--o5-silver);
}
.o5-cart-item { transition: background .18s ease; }

/* Click-catcher behind cart popover (invisible, no blur) */
.o5-cart-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 90;
}
/* Make sure the cart popover sits ABOVE the backdrop */
.o5-cart-pop { z-index: 100; box-shadow: 0 24px 64px -16px rgba(0,0,0,0.18); }

/* ─── Cream footer · subtotal + 2 CTAs ─── */
.o5-cart-foot {
  background: var(--o5-surface);
  padding: 10px 18px 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.o5-cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
}
.o5-cart-total span {
  font-family: var(--o5-display);
  font-size: 13.5px; font-weight: 700;
  color: var(--o5-ink2);
}
.o5-cart-total b {
  font-family: var(--o5-display);
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.022em;
  color: var(--o5-ink);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.o5-cart-total b .ccy {
  font-family: var(--o5-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--o5-ink);
  letter-spacing: -0.02em;
  text-transform: none;
  margin-right: 0;
}
.o5-cart-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.o5-cart-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 800;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.o5-cart-btn.is-ghost {
  background: var(--o5-surface);
  color: var(--o5-ink);
  border: 1px solid var(--o5-silver);
}
.o5-cart-btn.is-ghost:hover { border-color: var(--o5-ink); background: var(--o5-surface-2); }
.o5-cart-btn.is-red {
  background: #d62133;
  color: #fff;
  border: 1px solid #d62133;
  box-shadow: 0 12px 24px -12px rgba(214,33,51,0.5);
}
.o5-cart-btn.is-red:hover { background: #b91c2c; border-color: #b91c2c; }

.o5[data-theme="dark"] .o5-cart-thumb { background: rgba(255,255,255,0.08); color: #fff; }

/* Settings popover -------------------------------------------------------- */
.o5-set-pop {
  width: 320px;
  padding: 0;
  overflow: hidden;
  font-family: var(--o5-body);
}
.o5-set-head {
  padding: 18px 22px 14px;
  font-family: var(--o5-display);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--o5-ink);
  border-bottom: 1px solid var(--o5-line);
}
.o5-set-group { padding: 14px 18px; border-bottom: 1px solid var(--o5-line); }
.o5-set-group:last-child { border-bottom: 0; }
.o5-set-label {
  font-family: var(--o5-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--o5-ink2);
  margin-bottom: 10px;
}
.o5-set-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--o5-surface-2);
  padding: 4px;
  border-radius: 12px;
}
.o5-set-seg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent; border: 0;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--o5-ink2);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.o5-set-seg-btn.is-on {
  background: var(--o5-surface);
  color: var(--o5-ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.o5-set-seg-btn:hover { color: var(--o5-ink); }
.o5-set-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.o5-set-chip {
  padding: 9px 10px;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--o5-ink);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.o5-set-chip:hover { border-color: var(--o5-ink); }
.o5-set-chip.is-on { background: var(--o5-ink); color: var(--o5-bg); border-color: var(--o5-ink); }
.o5-set-list { display: flex; flex-direction: column; gap: 2px; }
.o5-set-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px;
  background: transparent; border: 0;
  border-radius: 8px;
  font-family: var(--o5-display);
  font-size: 13.5px; font-weight: 500;
  color: var(--o5-ink);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.o5-set-row i {
  font-style: normal;
  font-family: var(--o5-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--o5-ink2);
}
.o5-set-row:hover { background: var(--o5-surface-2); }
.o5-set-row.is-on { background: var(--o5-ink); color: var(--o5-bg); font-weight: 700; }
.o5-set-row.is-on i { color: var(--o5-bg); opacity: 0.7; }
.o5[data-theme="dark"] .o5-set-seg-btn.is-on { background: var(--o5-ink); color: var(--o5-bg); }

.o5-avatar-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  padding: 4px 4px 4px 12px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.o5-avatar-pill .o5-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb38a 0%, #ff6f3c 100%);
  display: inline-block;
}

/* ── Hero ── */
.o5-hero {
  position: relative;
  margin: 0 var(--o5-edge);
  padding: 56px 0 32px;
}
.o5-hero-inner {
  max-width: 1360px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.o5-hero-l { padding: 16px 0; }
.o5-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--o5-accent-soft);
  color: var(--o5-accent);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.o5-hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%;
}
.o5-hero-title {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
  text-wrap: balance;
}
.o5-hero-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--o5-accent);
}
.o5-hero-sub {
  font-size: 18px;
  color: var(--o5-ink2);
  margin: 0 0 28px;
  max-width: 50ch;
  line-height: 1.5;
}
.o5-hero-stats {
  display: flex; gap: 32px;
  margin-top: 32px;
}
.o5-hero-stat strong {
  display: block;
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.o5-hero-stat span {
  font-size: 13px;
  color: var(--o5-ink2);
}

.o5-hero-r {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.o5-hero-r .o5-collage {
  position: absolute; inset: 0;
}
.o5-collage-img {
  position: absolute;
  border-radius: var(--o5-r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18);
}
.o5-collage-img.is-1 {
  left: 0; top: 0;
  width: 62%; height: 70%;
  border-radius: var(--o5-r-xl) var(--o5-r-lg) var(--o5-r-lg) var(--o5-r-xl);
}
.o5-collage-img.is-2 {
  right: 0; top: 14%;
  width: 46%; height: 50%;
  border-radius: var(--o5-r-lg);
}
.o5-collage-img.is-3 {
  left: 16%; bottom: 0;
  width: 50%; height: 36%;
  border-radius: var(--o5-r-lg);
}

.o5-collage-badge {
  position: absolute;
  background: var(--o5-surface);
  border-radius: var(--o5-r);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.14);
  font-size: 13px;
  z-index: 2;
}
.o5-collage-badge.is-rating {
  right: -8px; bottom: 12%;
  flex-direction: column; align-items: flex-start;
}
.o5-collage-badge.is-rating .stars {
  color: var(--o5-rate);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.o5-collage-badge.is-rating .num {
  font-weight: 800; font-size: 16px;
  letter-spacing: -0.01em;
}
.o5-collage-badge.is-going {
  left: -16px; top: 8%;
}
.o5-collage-badge .av-stack {
  display: flex;
}
.o5-collage-badge .av-stack span {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--o5-surface);
  display: inline-block;
  margin-left: -8px;
}
.o5-collage-badge .av-stack span:first-child { margin-left: 0; }

/* ── Search bar ── */
.o5-search {
  max-width: 1100px; margin: -28px auto 0;
  background: var(--o5-surface);
  border-radius: 999px;
  border: 1px solid var(--o5-line);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.08);
  display: flex;
  position: relative;
  z-index: 5;
}
.o5-search-tabs {
  position: absolute;
  top: -52px; left: 0;
  display: flex; gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.o5-search-tabs::-webkit-scrollbar { display: none; }
.o5-search-tab {
  background: transparent;
  border: 0;
  padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--o5-ink2);
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.o5-search-tab.is-active {
  background: var(--o5-ink);
  color: var(--o5-bg);
}
.o5-search-tab:not(.is-active):hover {
  background: var(--o5-surface-2);
  color: var(--o5-ink);
}

.o5-search-field {
  flex: 1;
  padding: 14px 22px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--o5-line);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s;
}
.o5-search-field:hover { background: var(--o5-surface-2); }
.o5-search-field:last-of-type { border-right: 0; }
.o5-search-field label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--o5-ink);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.o5-search-field input,
.o5-search-field .o5-search-val {
  background: transparent; border: 0; outline: 0;
  font-size: 14px; font-weight: 500;
  color: var(--o5-ink);
  padding: 0;
}
.o5-search-field input::placeholder,
.o5-search-field .o5-search-val.is-placeholder {
  color: var(--o5-ink3);
}
.o5-search-go {
  align-self: center;
  margin: 6px;
  padding: 14px 20px;
  background: var(--o5-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.o5-search-go:hover { background: color-mix(in srgb, var(--o5-accent) 88%, black); }

/* ── Section header ── */
.o5-section { padding: 72px var(--o5-edge) 0; }
.o5-section-inner { max-width: 1440px; margin: 0 auto; }
.o5-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.o5-section-head .l h2 {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  line-height: 1.1;
}
.o5-section-head .l p {
  margin: 0;
  font-size: 15px;
  color: var(--o5-ink2);
  max-width: 56ch;
}
.o5-section-head .r {
  display: flex; align-items: center; gap: 8px;
}
.o5-arrows-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.o5-arrows-btn:hover { background: var(--o5-ink); color: var(--o5-bg); border-color: var(--o5-ink); }
.o5-section-link {
  font-size: 14px; font-weight: 700;
  color: #000;
  background: #fff;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 16px;
  border: 1px solid var(--o5-line);
  border-radius: 999px;
}
.o5-section-link:hover { background: #f1f1f1; }

/* ── Listing card ── */
.o5-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .o5-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .o5-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .o5-grid { grid-template-columns: 1fr; } }

.o5-grid.is-cols-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1100px) { .o5-grid.is-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .o5-grid.is-cols-3 { grid-template-columns: 1fr; } }

.o5-grid.is-cols-5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1300px) { .o5-grid.is-cols-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .o5-grid.is-cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .o5-grid.is-cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .o5-grid.is-cols-5 { grid-template-columns: 1fr; } }

.o5-grid.is-cols-6 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1300px) { .o5-grid.is-cols-6 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { .o5-grid.is-cols-6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .o5-grid.is-cols-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .o5-grid.is-cols-6 { grid-template-columns: repeat(2, 1fr); } }
.o5-bb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.o5-bb-chip {
  display: inline-flex; align-items: center;
  font-family: var(--o5-mono, ui-monospace, SFMono-Regular, monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.o5-bb-chip.is-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding-left: 10px;
}
.o5-bb-chip.is-tag::before {
  content: '';
  width: 6px; height: 6px;
  margin-right: 8px;
  background: var(--o5-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,111,60,0.35);
  flex: none;
}
.o5-bb-chip.is-cat {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.o5-tag.is-offer {
  background: #E11D2E;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.o5-grid.is-square .o5-listing-img { aspect-ratio: 1 / 1; }

.o5-listing {
  background: var(--o5-surface);
  border-radius: var(--o5-r);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--o5-line);
  display: flex; flex-direction: column;
}
.o5-listing:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 40px -16px rgba(0,0,0,0.12);
}
.o5-listing-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 8px;
  border-radius: 14px;
}
.o5-listing-img .o5-grad {
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}
.o5-listing:hover .o5-listing-img .o5-grad { transform: scale(1.04); }
.o5-listing-img-meta {
  position: absolute;
  left: 14px; bottom: 14px;
  font-size: 12px; font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.o5-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--o5-surface);
  color: var(--o5-ink);
  font-size: 11px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.o5-tag.is-promo {
  background: var(--o5-accent);
  color: #fff;
}
.o5-save {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #1a1a1a;
  cursor: pointer;
}
.o5-save:hover { background: #fff; }
.o5-save.is-saved { color: #d62133; }

.o5-listing-text {
  padding: 6px 18px 22px;
}
.o5-listing-rate {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 4px;
}
.o5-listing-rate .star { color: var(--o5-rate); }
.o5-listing-rate .o5-rate-meta { color: var(--o5-ink2); font-weight: 500; }
.o5-listing-title {
  font-family: var(--o5-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--o5-ink);
}
.o5-listing-meta {
  font-size: 13px;
  color: var(--o5-ink2);
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 6px;
}
.o5-listing-meta .dot { color: var(--o5-ink3); }
.o5-listing-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px;
  border-top: 1px dashed var(--o5-line);
}
.o5-listing-price b {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.o5-listing-price span {
  font-size: 12px;
  color: var(--o5-ink2);
  margin-left: 4px;
}
.o5-listing-cta {
  font-size: 13px; font-weight: 700;
  color: var(--o5-accent);
  display: inline-flex; align-items: center; gap: 4px;
}

.o5-gfilter {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.o5-gfilter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.o5-gfilter-chips.is-nav > .o5-gfilter-chip { flex: 0 0 auto; }
.o5-gfilter-break { flex-basis: 100%; height: 0; }
.o5-gfilter-chips > .o5-gfilter-chip {
  flex: 0 0 auto;
}
.o5-gfilter .o5-gfilter-chip {
  font-family: var(--o5-display);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  gap: 6px;
}
.o5-gfilter .o5-gfilter-chip .count { font-size: 11px; padding: 2px 7px; }
.o5-gfilter .o5-gfilter-glyph { font-size: 15px; opacity: 0.85; margin-right: 2px; }
.o5-gfilter-selects { display: flex; gap: 8px; }
.o5-gfilter-select {
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  padding: 10px 32px 10px 16px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.o5-gfilter-select:hover { border-color: var(--o5-ink); }

/* keep per-section chips at original scale */
.o5-secfilter .o5-gfilter-chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  gap: 6px;
}
.o5-secfilter .o5-gfilter-chip .count { font-size: 11px; padding: 2px 7px; }
.o5-secfilter .o5-gfilter-glyph { font-size: 14px; margin-right: 2px; }
.o5-cats-wrap {
  position: relative;
}
.o5-cats {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 8px;
}
.o5-cats::-webkit-scrollbar { display: none; }
.o5-cat {
  flex: 0 0 calc((100% - 5 * 18px) / 6);
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: stretch;
  text-align: center;
  text-decoration: none;
  color: var(--o5-ink);
  transition: transform 0.15s;
}
@media (max-width: 1100px) { .o5-cat { flex: 0 0 calc((100% - 3 * 18px) / 4); } }
@media (max-width: 700px)  { .o5-cat { flex: 0 0 calc((100% - 2 * 18px) / 3); } }
@media (max-width: 480px)  { .o5-cat { flex: 0 0 calc((100% - 18px) / 2); } }
.o5-cat:hover { transform: translateY(-2px); }
.o5-cat:hover .o5-cat-circle { box-shadow: 0 18px 36px -16px rgba(0,0,0,0.25); }
.o5-cat-circle {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--o5-line);
  transition: box-shadow 0.2s ease;
}
.o5-cat-circle .o5-grad {
  position: absolute; inset: 0;
}
.o5-cat-name {
  font-family: var(--o5-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  text-align: center;
}
.o5-cat-count {
  font-size: 13px;
  color: var(--o5-ink2);
  margin: 0;
  text-align: center;
}
.o5-cats-arrow {
  position: absolute; top: 38%;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.2);
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
}
.o5-cats-arrow.is-prev { left: -18px; }
.o5-cats-arrow.is-next { right: -18px; }
.o5-cats-arrow:hover { background: var(--o5-ink); color: var(--o5-bg); border-color: var(--o5-ink); }
.o5-cats-arrow.is-disabled { opacity: 0; pointer-events: none; }

/* ── Countdown timer (Special offers) — middle band ── */
.o5-countdown {
  margin: 10px -22px;
  padding: 8px 22px;
  background: color-mix(in oklab, var(--o5-ink) 4%, var(--o5-bg));
  border-top: 1px solid var(--o5-line);
  border-bottom: 1px solid var(--o5-line);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.o5-countdown-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
}
.o5-countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.o5-countdown-cell b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 38px;
  background: var(--o5-bg);
  border-radius: 8px;
  font-family: var(--o5-display);
  font-size: 13px;
  font-weight: 700;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--o5-ink);
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.o5-countdown-cell > span {
  font-family: var(--o5-display);
  font-size: 9px;
  color: var(--o5-muted);
}

/* Offer cards: shorter image + no dashed footer divider */
.o5-listing:has(.o5-countdown) .o5-listing-img,
.o5-listing:has(.o5-cd) .o5-listing-img { aspect-ratio: 1 / 1; }
.o5-listing:has(.o5-countdown) .o5-listing-foot,
.o5-listing:has(.o5-cd) .o5-listing-foot {
  border-top: none;
  padding-top: 8px;
}
.o5-cd-pill {
  margin: 14px 0 8px;
  padding: 10px 22px;
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--o5-display);
  width: 100%;
  justify-content: space-between;
}
.o5-cd-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--o5-accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--o5-accent) 60%, transparent);
  animation: o5-cd-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes o5-cd-pulse {
  0%   { box-shadow: 0 0 0 0   color-mix(in oklab, var(--o5-accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 6px color-mix(in oklab, var(--o5-accent) 0%,  transparent); }
  100% { box-shadow: 0 0 0 0   color-mix(in oklab, var(--o5-accent) 0%,  transparent); }
}
.o5-cd-pill-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1, "lnum" 1;
  display: inline-flex;
  align-items: baseline;
}
.o5-cd-pill-text b { font-weight: 700; }
.o5-cd-pill-text i {
  font-style: normal;
  opacity: 0.5;
  margin: 0 6px;
}

/* ── Countdown — Bar variant ──────────────────────────────── */
.o5-cd-bar {
  margin: 10px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.o5-cd-bar-label {
  font-family: var(--o5-display);
  font-size: 11px;
  color: var(--o5-muted);
  display: inline-flex;
  gap: 6px;
}
.o5-cd-bar-label b {
  color: var(--o5-ink);
  font-weight: 700;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.o5-cd-bar-track {
  height: 4px;
  border-radius: 4px;
  background: color-mix(in oklab, var(--o5-ink) 10%, var(--o5-bg));
  overflow: hidden;
  display: block;
}
.o5-cd-bar-fill {
  display: block;
  height: 100%;
  background: var(--o5-accent);
  border-radius: 4px;
  transition: width 1s linear;
}

/* ── Countdown — Inline variant ───────────────────────────── */
.o5-cd-inline {
  margin: 8px 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--o5-display);
  font-size: 12px;
  color: var(--o5-muted);
  align-self: flex-start;
}
.o5-cd-inline b {
  color: var(--o5-accent);
  font-weight: 700;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.o5-cd-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--o5-accent);
  animation: o5-cd-pulse 1.6s ease-out infinite;
}

/* ── Countdown — Stamp variant ────────────────────────────── */
.o5-cd-stamp {
  margin: 10px 0 6px;
  padding: 6px 10px;
  border: 1.5px solid var(--o5-accent);
  border-radius: 6px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  align-self: flex-start;
  color: var(--o5-accent);
  transform: rotate(-1.5deg);
}
.o5-cd-stamp-eyebrow {
  font-family: var(--o5-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.o5-cd-stamp-time {
  font-family: var(--o5-mono, var(--o5-display));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.o5-cd-stamp-time i {
  font-style: normal;
  opacity: 0.6;
  font-size: 9px;
  margin-left: 1px;
}

/* All countdown variants share the same vertical footprint */
.o5-cd { min-height: 56px; display: flex; align-items: center; }
.o5-cd-pill,
.o5-cd-bar,
.o5-cd-bar2,
.o5-cd-bar3,
.o5-cd-flip { min-height: 56px; }

/* ── Countdown — Segmented bar (bar2) ─────────────────────── */
.o5-cd-bar2 {
  margin: 22px 0 6px;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.o5-cd-bar2-track {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 3px;
  height: 8px;
}
.o5-cd-bar2-cell {
  background: color-mix(in oklab, var(--o5-ink) 8%, var(--o5-bg));
  border-radius: 2px;
  height: 100%;
}
.o5-cd-bar2-cell.is-on {
  background: var(--o5-ink);
}
.o5-cd-bar2-cell.is-on:nth-last-child(1 of .is-on),
.o5-cd-bar2-cell.is-on:nth-last-child(2 of .is-on) {
  background: var(--o5-accent);
}
.o5-cd-bar2-label {
  font-family: var(--o5-display);
  font-size: 11px;
  color: var(--o5-muted);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.o5-cd-bar2-label b {
  color: var(--o5-ink);
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: 0.06em;
}
.o5-cd-bar2-label b i {
  font-style: normal;
  font-weight: 600;
  color: var(--o5-muted);
  margin-right: 4px;
  margin-left: 1px;
}

/* ── Countdown — Digital screen (digital) ─────────────────── */
.o5-cd-digital {
  margin: 12px 0 6px;
  display: flex !important;
  align-items: center;
  width: 100%;
}
.o5-cd-digital-screen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  background: var(--o5-ink);
  border-radius: 999px;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.o5-cd-digital-eyebrow {
  font-family: var(--o5-display);
  font-size: 11px;
  font-weight: 500;
  color: color-mix(in oklab, var(--o5-bg) 70%, var(--o5-ink));
}
.o5-cd-digital-time {
  font-family: var(--o5-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--o5-bg);
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.o5-cd-digital-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--o5-accent);
  animation: o5-cd-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
.o5-cd-digital-time i {
  font-style: normal;
  opacity: 0.5;
  margin: 0 4px;
  font-weight: 500;
}

/* ── Countdown — Filled track w/ inline text (bar3) ───────── */
.o5-cd-bar3 {
  margin: 10px 0 6px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.o5-cd-bar3-prefix {
  font-family: var(--o5-display);
  font-size: 11px;
  color: var(--o5-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.o5-cd-bar3-track {
  position: relative;
  height: 26px;
  flex: 1;
  background: color-mix(in oklab, var(--o5-ink) 8%, var(--o5-bg));
  border-radius: 999px;
  overflow: hidden;
}
.o5-cd-bar3-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: var(--o5-ink);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px;
  min-width: 90px;
  transition: width 1s linear;
}
.o5-cd-bar3-text {
  font-family: var(--o5-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--o5-bg);
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.o5-cd-bar3-text i {
  font-style: normal;
  opacity: 0.55;
  margin-left: 1px;
  margin-right: 4px;
  font-weight: 600;
}
.o5-cd-bar3-text i:last-child { margin-right: 0; }
.o5-cd-flip {
  margin: 10px 0 6px;
  padding: 0;
  background: transparent;
  border: none;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
.o5-cd-flip-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.o5-cd-flip-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--o5-ink) 92%, var(--o5-bg)) 0%,
    color-mix(in oklab, var(--o5-ink) 92%, var(--o5-bg)) 49.9%,
    color-mix(in oklab, var(--o5-ink) 78%, var(--o5-bg)) 50.1%,
    color-mix(in oklab, var(--o5-ink) 78%, var(--o5-bg)) 100%);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 1px 2px rgba(0,0,0,0.18);
  overflow: hidden;
  transform-origin: center;
  perspective: 220px;
  animation: o5-flip-board 0.55s cubic-bezier(0.4, 0.05, 0.2, 1);
}
.o5-cd-flip-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}
.o5-cd-flip-card b {
  position: relative;
  z-index: 1;
  font-family: var(--o5-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--o5-bg);
  line-height: 1;
}
@keyframes o5-flip-board {
  0%   { transform: rotateX(0deg); }
  50%  { transform: rotateX(-90deg); }
  100% { transform: rotateX(0deg); }
}
.o5-cd-flip-label {
  font-family: var(--o5-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--o5-muted);
}

/* ── Generic event carousel ── */
.o5-carousel { position: relative; }
.o5-carousel .o5-cats-arrow { top: 40%; }
.o5-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.o5-carousel-track::-webkit-scrollbar { display: none; }
.o5-carousel-cell {
  flex: 0 0 calc((100% - 18px * 3) / 4);
  scroll-snap-align: start;
  display: flex;
  align-self: stretch;
}
.o5-carousel-cell > .o5-listing { width: 100%; height: 100%; }
.o5-carousel-track { align-items: stretch; }
.o5-listing-text { flex: 1; display: flex; flex-direction: column; }
.o5-listing-foot, .o5-listing-rate-bottom { margin-top: auto; }
.o5-carousel[data-perview="3"] .o5-carousel-cell { flex-basis: calc((100% - 18px * 2) / 3); }
.o5-carousel[data-perview="2"] .o5-carousel-cell { flex-basis: calc((100% - 18px) / 2); }
.o5-carousel[data-perview="1"] .o5-carousel-cell { flex-basis: 100%; }

/* Festivals + Streams + Sports — same vertical layout, 30% shorter overall */
.o5-carousel[data-perview="2"] .o5-listing.is-v2 .o5-listing-img {
  aspect-ratio: 16 / 9;
}
.o5-carousel[data-perview="1"] .o5-listing.is-v2 .o5-listing-img {
  aspect-ratio: 21 / 6.3;
}
.o5-carousel[data-perview="2"] .o5-listing.is-v2 .o5-listing-text,
.o5-carousel[data-perview="1"] .o5-listing.is-v2 .o5-listing-text {
  padding: 16px 18px 18px;
}
.o5-carousel[data-perview="2"] .o5-listing.is-v2 .o5-listing-title,
.o5-carousel[data-perview="1"] .o5-listing.is-v2 .o5-listing-title {
  font-size: 20px;
  line-height: 1.2;
}
.o5-carousel[data-perview="5"] .o5-carousel-cell { flex-basis: calc((100% - 18px * 4) / 5); }
.o5-carousel[data-perview="6"] .o5-carousel-cell { flex-basis: calc((100% - 18px * 5) / 6); }
@media (max-width: 1024px) {
  .o5-carousel-cell { flex-basis: calc((100% - 18px * 2) / 3) !important; }
}
@media (max-width: 720px) {
  .o5-carousel-cell { flex-basis: calc((100% - 18px) / 2) !important; }
}

/* ── Promoter strip ── */
.o5-promoters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .o5-promoters { grid-template-columns: 1fr; } }
.o5-promoter {
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  border-radius: var(--o5-r);
  padding: 24px;
  display: flex; align-items: center; gap: 18px;
}
.o5-promoter-av {
  width: 64px; height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.o5-promoter-av .o5-grad { position: absolute; inset: 0; }
.o5-promoter-info { flex: 1; min-width: 0; }
.o5-promoter-info h4 {
  font-family: var(--o5-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.012em;
  margin: 0 0 2px;
}
.o5-promoter-info p {
  font-size: 13px;
  color: var(--o5-ink2);
  margin: 0;
}
.o5-promoter-stat {
  text-align: right;
  font-size: 12px;
  color: var(--o5-ink2);
}
.o5-promoter-stat b {
  display: block;
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--o5-ink);
  letter-spacing: -0.01em;
}

/* ── Big banner ── */
.o5-banner {
  position: relative;
  border-radius: var(--o5-r-xl);
  overflow: hidden;
  padding: 64px 56px;
  background: linear-gradient(120deg, #1a1a1a 0%, #2d2520 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 380px;
}
.o5-banner-grad {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,111,60,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.o5-banner-l { position: relative; z-index: 2; }
.o5-banner-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}
.o5-banner h2 {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.o5-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 24px;
  max-width: 50ch;
}
.o5-banner-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.o5-btn-primary {
  background: var(--o5-accent);
  color: #fff;
  border: 0;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.o5-btn-primary:hover { background: color-mix(in srgb, var(--o5-accent) 88%, black); }
.o5-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.o5-btn-outline:hover { background: rgba(255,255,255,0.1); }
.o5-banner-r {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 100%;
}
.o5-banner-r > div {
  border-radius: var(--o5-r);
  position: relative;
  overflow: hidden;
  min-height: 140px;
}
.o5-banner-r > div .o5-grad { position: absolute; inset: 0; }
.o5-banner-r > div:nth-child(1) { grid-row: span 2; }

/* ── Newsletter ── */
.o5-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--o5-surface-2);
  border-radius: var(--o5-r-xl);
  padding: 56px;
  align-items: center;
}
@media (max-width: 900px) { .o5-news { grid-template-columns: 1fr; padding: 32px; } }
.o5-news h2 {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.o5-news p { font-size: 15px; color: var(--o5-ink2); margin: 0; }
.o5-news ul { list-style: none; padding: 0; margin: 16px 0 0; }
.o5-news ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--o5-ink);
  font-weight: 500;
  margin-bottom: 8px;
}
.o5-news ul li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--o5-accent-soft);
  color: var(--o5-accent);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.o5-news form {
  background: var(--o5-surface);
  border-radius: 999px;
  padding: 6px;
  display: flex;
  gap: 6px;
  border: 1px solid var(--o5-line);
}
.o5-news input {
  flex: 1; min-width: 0;
  background: transparent;
  border: 0; outline: 0;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--o5-ink);
}
.o5-news button {
  background: var(--o5-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px; font-weight: 700;
}
.o5-news button:hover { background: color-mix(in srgb, var(--o5-accent) 88%, black); }

/* ── Footer ── */
.o5-footer {
  margin-top: 72px;
  padding: 48px var(--o5-edge) 32px;
  border-top: 1px solid var(--o5-line);
}
.o5-footer-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .o5-footer-inner { grid-template-columns: 1fr 1fr; } }
.o5-footer-col h5 {
  font-family: var(--o5-display);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.o5-footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.o5-footer-col a {
  font-size: 14px;
  color: var(--o5-ink2);
}
.o5-footer-col a:hover { color: var(--o5-accent); }
.o5-brand-logo { padding: 0; gap: 0; }
.o5-brand-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
}
.o5-footer-brand p {
  font-size: 14px;
  color: var(--o5-ink2);
  max-width: 36ch;
  margin: 12px 0 16px;
  line-height: 1.55;
}
.o5-footer-social {
  display: flex; gap: 8px;
}
.o5-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--o5-surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--o5-ink);
}
.o5-footer-social a:hover { background: var(--o5-accent); color: #fff; }
.o5-footer-bottom {
  max-width: 1440px; margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--o5-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--o5-ink2);
}

/* ── Billboard carousel ── */
.o5-billboard {
  position: relative;
  margin: 24px var(--o5-edge) 0;
  border-radius: var(--o5-r-xl);
  overflow: hidden;
  height: clamp(520px, 76vh, 720px);
}
.o5-bb-track {
  position: relative;
  width: 100%; height: 100%;
}
.o5-bb-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.o5-bb-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.o5-bb-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.o5-bb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.o5-bb-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 56px 64px 88px;
  color: #fff;
  max-width: 920px;
}
/* legacy .o5-bb-eyebrow pill removed — now handled by chip rule above */

/* ── Billboard search bar (top center) ── */
.o5-bb-search {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0;
  width: min(560px, calc(100% - 360px));
  padding: 8px 8px 8px 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 14px 48px -12px rgba(0,0,0,0.45);
  color: #fff;
}
.o5-bb-search-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px 10px;
  cursor: text;
}
.o5-bb-search-field.is-loc, .o5-bb-search-field.is-when {
  flex: 0 0 auto;
}
.o5-bb-search-field svg { color: rgba(255,255,255,0.85); flex: none; }
.o5-bb-search-field input,
.o5-bb-search-field select {
  appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  min-width: 0;
}
.o5-bb-search-field input::placeholder { color: rgba(255,255,255,0.65); }
.o5-bb-search-field select option { color: #1c1c1c; }
.o5-bb-search-field.is-loc input { width: 110px; }
.o5-bb-search-field.is-when select { width: 110px; cursor: pointer; }
.o5-bb-search-divider {
  width: 1px; height: 22px;
  background: rgba(255,255,255,0.25);
  flex: none;
}
.o5-bb-search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 4px;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--o5-accent, #ff6f3c);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  flex: none;
  transition: transform .12s ease, background .15s ease;
}
.o5-bb-search-btn:hover { background: color-mix(in srgb, var(--o5-accent, #ff6f3c) 90%, #000 10%); }
.o5-bb-search-btn:active { transform: translateY(1px); }

@media (max-width: 1100px) {
  .o5-bb-search { width: calc(100% - 240px); }
  .o5-bb-search-field.is-loc, .o5-bb-search-field.is-when { display: none; }
  .o5-bb-search-divider { display: none; }
}
@media (max-width: 720px) {
  .o5-bb-search {
    top: auto; bottom: 16px;
    left: 16px; right: 16px;
    transform: none;
    width: auto;
    padding: 6px 6px 6px 14px;
  }
  .o5-bb-search-btn { width: 38px; height: 38px; }
}
.o5-bb-title {
  font-family: var(--o5-display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0 0 16px;
  text-wrap: balance;
}
.o5-bb-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.o5-bb-meta-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.o5-bb-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ── Billboard nav (top-right) ── */
.o5-bb-nav {
  position: absolute;
  top: 28px; right: 32px;
  z-index: 5;
  display: flex; align-items: center; gap: 12px;
}
.o5-bb-arrows {
  display: flex; gap: 6px;
}
.o5-bb-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.o5-bb-arrow:hover { background: rgba(255,255,255,0.22); }

/* ── Billboard combined control (bottom-right) ── */
.o5-bb-control {
  position: absolute;
  right: 32px; bottom: 32px;
  z-index: 6;
  display: inline-flex; align-items: center;
  gap: 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 12px 36px -10px rgba(0,0,0,0.45);
  color: #fff;
}
.o5-bb-control .o5-bb-arrow {
  width: 32px; height: 32px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.o5-bb-control .o5-bb-arrow svg { width: 13px; height: 13px; }
.o5-bb-control .o5-bb-arrow:hover {
  background: rgba(255,255,255,0.18);
}
.o5-bb-control-counter {
  display: inline-flex; flex-direction: column; align-items: stretch;
  justify-content: center;
  gap: 5px;
  padding: 0 13px;
  min-width: 74px;
}
.o5-bb-control-counter .num {
  font-family: var(--o5-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  text-align: center;
}
.o5-bb-control-counter .num b {
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.01em;
}
.o5-bb-control-counter .num .sep { margin: 0 3px; opacity: 0.6; }
.o5-bb-control-counter .o5-bb-progress {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.22);
  border-radius: 2px;
  overflow: hidden;
}
.o5-bb-control-counter .o5-bb-progress-bar {
  display: block; height: 100%;
  background: var(--o5-accent, #ff6f3c);
  transition: width .6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* hide the old solo counter / nav blocks */
.o5-bb-counter, .o5-bb-nav { display: none; }
.o5-bb-counter {
  position: absolute;
  top: 28px; left: 32px;
  z-index: 5;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.92);
  font-family: var(--o5-display);
}
.o5-bb-counter .num {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em;
}
.o5-bb-counter .num b {
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.01em;
  margin-right: 4px;
}
.o5-bb-progress {
  width: 60px; height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
}
.o5-bb-progress-bar {
  height: 100%;
  background: #fff;
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ── Billboard thumbnails ── */
.o5-bb-thumbs {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; gap: 10px;
}
.o5-bb-thumb {
  width: 64px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  transition: transform 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.o5-bb-thumb:hover { transform: translateY(-3px); }
.o5-bb-thumb.is-active {
  border-color: #fff;
  transform: translateY(-4px);
}
.o5-bb-thumb-img {
  position: absolute; inset: 0;
}
.o5-bb-thumb-label {
  position: absolute; left: 4px; right: 4px; bottom: 4px;
  font-size: 9px; font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  text-transform: uppercase;
  text-align: left;
  line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .o5-billboard { height: clamp(440px, 80vh, 560px); border-radius: var(--o5-r-lg); margin: 16px; }
  .o5-bb-content { padding: 32px 24px 96px; }
  .o5-bb-control { right: 16px; bottom: 16px; }
  .o5-bb-control-counter { min-width: 70px; padding: 0 10px; }
  .o5-bb-thumbs { display: none; }
}

/* ── Section filter chips ── */
.o5-secfilter {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.o5-secfilter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1; min-width: 0;
}
.o5-secfilter-chips > .o5-secfilter-chip {
  flex: 0 0 auto;
}
.o5-secfilter-chips > .o5-secfilter-break {
  flex-basis: 100%;
  height: 0;
  width: 0;
}
.o5-secfilter-city {
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  padding: 8px 32px 8px 14px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  line-height: 1.2;
  cursor: pointer; appearance: none; flex: 0 0 auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.o5-secfilter-city:hover { background: var(--o5-surface-2); }
.o5-secfilter::-webkit-scrollbar { display: none; }
.o5-secfilter-chip {
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--o5-display);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.o5-secfilter-chip:hover { background: var(--o5-surface-2); }
.o5-secfilter-chip.is-active {
  background: var(--o5-ink);
  color: var(--o5-bg);
  border-color: var(--o5-ink);
}
.o5-secfilter-chip .count {
  font-size: 11px;
  font-weight: 600;
  color: var(--o5-ink2);
  background: var(--o5-surface-2);
  padding: 1px 7px;
  border-radius: 999px;
}
.o5-secfilter-chip.is-active .count {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}
.o5-secfilter-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--o5-surface);
  border: 1px dashed var(--o5-line);
  border-radius: var(--o5-r);
  color: var(--o5-ink2);
  font-size: 14px;
}
.o5-secfilter-empty b {
  display: block;
  font-family: var(--o5-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--o5-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* ── Listing v2 (Just Announced first-card variant) ── */
.o5-listing.is-v2 .o5-listing-img-meta { display: none; }
.o5-listing.is-v2 .o5-listing-rate { display: none; }
.o5-listing-tags {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
  max-width: calc(100% - 24px);
  z-index: 2;
}
.o5-listing.is-v2 .o5-tag { position: static; }
.o5-listing-titlerow {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 4px;
}
.o5-listing-titlerow .o5-listing-title { flex: 1; margin: 0; }
.o5-listing-daterange {
  font-family: var(--o5-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--o5-accent);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.o5-listing-save-inline {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--o5-surface-2);
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--o5-ink);
  cursor: pointer;
}
.o5-listing-save-inline:hover { background: color-mix(in srgb, var(--o5-ink) 8%, var(--o5-surface-2)); }
.o5-listing-save-inline.is-saved { color: #d62133; background: #fdecee; }
.o5-listing-rate-bottom {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--o5-line);
}
.o5-listing.is-v2 .o5-listing-rate-bottom {
  justify-content: space-between;
}
.o5-listing.is-v2 .o5-rate-left {
  display: inline-flex; align-items: center; gap: 4px;
}
.o5-listing.is-v2 .o5-cat-tag {
  position: static;
  background: var(--o5-surface-2);
  color: var(--o5-ink);
  font-weight: 600;
}
.o5-listing-book {
  appearance: none;
  border: none;
  background: #E11D2E;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background .15s ease, transform .1s ease;
}
.o5-listing-book:hover { background: #C21525; }
.o5-listing-book:active { transform: translateY(1px); }

/* Card-as-link variant — preserve all the article styling. */
a.o5-listing.is-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}
a.o5-listing.is-link:hover .o5-listing-book { background: #C21525; }

.o5-switcher {
  position: fixed; left: 16px; bottom: 16px; z-index: 200;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--o5-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--o5-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--o5-line);
  padding: 4px 4px 4px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.12);
}
.o5-switcher span { color: var(--o5-ink2); }
.o5-switcher a {
  padding: 5px 10px;
  background: var(--o5-surface-2);
  border-radius: 999px;
  color: var(--o5-ink2);
}
.o5-switcher a.is-active { background: var(--o5-ink); color: var(--o5-bg); }
.o5-switcher a:hover { color: var(--o5-ink); }

.o5-theme-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--o5-surface);
  border: 1px solid var(--o5-line);
  color: var(--o5-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .o5-nav { display: none; }
  .o5-hero-inner { grid-template-columns: 1fr; }
  .o5-hero-r { display: none; }
  .o5-search { flex-direction: column; border-radius: 24px; }
  .o5-search-field { border-right: 0; border-bottom: 1px solid var(--o5-line); border-radius: 0; }
  .o5-search-field:last-of-type { border-bottom: 0; }
  .o5-search-go { width: 100%; margin: 6px; }
  .o5-search-tabs { position: relative; top: 0; margin-bottom: 12px; }
  .o5-banner { grid-template-columns: 1fr; padding: 40px 28px; }
  .o5-banner-r { display: none; }
}

/* Header search popover ---------------------------------------------------- */
.o5-search-pop {
  width: 380px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.o5-search-pop-field {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--o5-line);
  border-radius: 999px;
  background: var(--o5-bg);
  transition: border-color .15s;
}
.o5-search-pop-field:focus-within { border-color: var(--o5-ink); }
.o5-search-pop-field svg { color: var(--o5-ink-2, #6b6b6b); flex: none; }
.o5-search-pop-field input {
  flex: 1; min-width: 0;
  border: 0; background: transparent; outline: none;
  font-family: var(--o5-display);
  font-size: 14px; font-weight: 600;
  color: var(--o5-ink);
}
.o5-search-pop-field input::placeholder { color: var(--o5-ink-3, #b3b3b3); font-weight: 500; }
.o5-search-pop-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 0 2px;
}
.o5-search-pop-hint > span {
  font-family: var(--o5-mono, ui-monospace);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--o5-ink-3, #b3b3b3);
  margin-right: 4px;
}
.o5-search-pop-hint button {
  padding: 6px 12px;
  border: 1px solid var(--o5-line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--o5-display);
  font-size: 12px; font-weight: 700;
  color: var(--o5-ink);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.o5-search-pop-hint button:hover { background: var(--o5-surface-2); border-color: var(--o5-ink); }
