/* ─────────────────────────────────────────────
   HCM Theme — main.css
   Base styles + shared components.
   Page-specific CSS is enqueued conditionally
   via functions.php based on page template.
   ───────────────────────────────────────────── */

/* Fonts injected via wp_add_inline_style in functions.php (absolute URLs, font-display: block) */

/* ─── Design Tokens ─── */
:root {
  --color-purple: var(--wp--preset--color--purple, #9728b8);
  --color-footer-bg: var(--wp--preset--color--footer-bg, #37056a);
  --color-page-bg: var(--wp--preset--color--page-bg, #f8f0fa);
  --color-text: var(--wp--preset--color--text, #333333);
  --header-height: 80px;

  --font-heading: var(--wp--preset--font-family--heading, "Akira Expanded", "Arial Black", sans-serif);
  --font-body: var(--wp--preset--font-family--body, "FONTSPRING DEMO - Proxima Nova", "Proxima Nova", sans-serif);

  --gradient-btn: linear-gradient(116.58deg, #9828b8 -5.16%, #f002af 44.26%, #fa5d3e 92.31%, #fed955 137.62%);
  --gradient-btn-pill: linear-gradient(90deg, #9728b8 0%, #f002ae 100%);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-page-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

body,
input,
textarea,
select,
button {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--color-purple);
}

.font-heading {
  font-family: var(--font-heading);
}
.font-body {
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

img {
  height: auto;
}

.site-shell {
  min-height: 100vh;
}

/* Admin bar is hidden on the frontend via show_admin_bar filter in functions.php.
   No top offset needed. */

/* ─── Site Header ─── */
.site-header {
  position: var(--site-header-position, fixed);
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-height);
  padding: 0;
  background: var(--site-header-bg, transparent);
  filter: var(--site-header-filter, drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)));
  animation: headerIntro 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.brand {
  position: absolute;
  left: calc(50% - 720px + 80px);
  top: 11px;
  z-index: 1;
  display: block;
  width: 107.92px;
  height: 58px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  position: absolute;
  left: 50%;
  top: 23.05px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 652.25px;
  height: 34px;
  white-space: nowrap;
  transform: translateX(calc(-50% - 0.14px));
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  font-family: "Figtree", var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--site-header-link-color, #ffffff);
  transition: color 160ms ease;
}

.primary-nav a:nth-child(1) {
  width: 80px;
}
.primary-nav a:nth-child(2) {
  width: 91.25px;
}
.primary-nav a:nth-child(3) {
  width: 78px;
}
.primary-nav a:nth-child(4) {
  width: 154px;
}
.primary-nav a:nth-child(5),
.primary-nav a:nth-child(6) {
  width: 112px;
}

.primary-nav a[data-mega-menu] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.primary-nav a[data-mega-menu] .nav-dropdown-icon {
  display: inline-block;
  width: 8px;
  height: 5px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("../images/header/icon-dropdown.svg") center / contain no-repeat;
  mask: url("../images/header/icon-dropdown.svg") center / contain no-repeat;
}

.primary-nav a.is-active,
.primary-nav a:hover {
  color: var(--site-header-link-active-color, var(--color-purple));
}
.primary-nav a:hover .nav-dropdown-icon,
.primary-nav a.is-active .nav-dropdown-icon {
  background-color: var(--color-purple);
}

.header-actions {
  position: absolute;
  top: 26px;
  right: calc(50% - 720px + 80px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button,
.menu-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--site-header-icon-color, #ffffff);
}

.icon-button img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Cart link is an <a>, not <button> — inherit color for consistent icon tint */
a.icon-button {
  text-decoration: none;
  color: inherit;
}

/* Cart count badge — top-right of cart icon.
   Visible on BOTH header variants:
   - Transparent header (homepage hero): white border separates badge from dark hero.
   - Light/sticky header (white bg): white border blends, so the purple pill reads on its own.
   The badge is fully hidden when count is 0 — data-count attribute selector is bulletproof
   (no reliance on a class being toggled correctly by JS or PHP). */
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--color-purple, #9728b8);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.cart-count[data-count="0"] {
  display: none !important;
}
/* On light header, give it a dark-purple border so it doesn't lose the halo on white bg */
.site-header--light .cart-count {
  border-color: rgba(151, 40, 184, 0.35);
}

/* ─── Site Search Panel — toggled by .search-toggle in header ──────────
   Slides down from below the header. Uses WP's get_search_form() inside. */
.site-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 18px 24px;
  z-index: 30;
  animation: hcm-search-slide 220ms ease both;
}
.site-search-panel[hidden] {
  display: none;
}
@keyframes hcm-search-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-search-panel__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* WP default search form structure: form.search-form > label > input.search-field + input.search-submit */
.site-search-panel .search-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.site-search-panel .search-form label {
  flex: 1;
}
.site-search-panel .search-field {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1.5px solid #e0d0ea;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #111;
  background: #fff;
  outline: none;
}
.site-search-panel .search-field:focus {
  border-color: var(--color-purple, #9728b8);
}
.site-search-panel .search-submit {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  height: 48px;
  padding: 0 28px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.18s;
}
.site-search-panel .search-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.site-search-panel .search-submit::after {
  content: none;
}
.site-search-panel .search-submit:hover {
  opacity: 0.88;
}

.site-search-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: #444;
  cursor: pointer;
}
.site-search-close:hover {
  color: #111;
}

@media (max-width: 600px) {
  .site-search-panel {
    padding: 14px 16px;
  }
  .site-search-panel .search-form {
    gap: 8px;
  }
  .site-search-panel .search-submit {
    padding: 0 16px;
    font-size: 14px;
  }
}

.menu-button {
  display: none;
  width: 36px;
  height: 32px;
  color: var(--site-header-icon-color, #ffffff);
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  border-radius: 999px;
}

.brand .brand-logo-light {
  display: none;
}

/* Body padding for light-header pages so content starts below the fixed header */
body[data-header="light"] {
  padding-top: var(--header-height);
}

/* Light header variant */
.site-header--light {
  position: fixed;
  top: 0;
  background: #ffffff;
  filter: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  animation: none;
}

.site-header--light .primary-nav a {
  color: #000000;
}
.site-header--light .primary-nav a.is-active,
.site-header--light .primary-nav a:hover {
  color: var(--color-purple);
}
.site-header--light .brand-logo-dark {
  display: none;
}
.site-header--light .brand-logo-light {
  display: block;
}
.site-header--light .icon-button[aria-label="Search"] img {
  filter: brightness(0);
}
.site-header--light .icon-button[aria-label="Cart"] img {
  filter: saturate(0) brightness(1.9);
}
.site-header--light .menu-button {
  color: #111111;
}

/* Mega menu open state: transparent headers temporarily become white until the menu closes. */
.site-header.is-mega-open {
  background: #ffffff;
  filter: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.site-header.is-mega-open .primary-nav a {
  color: #000000;
}

.site-header.is-mega-open .primary-nav a.is-active,
.site-header.is-mega-open .primary-nav a:hover {
  color: var(--color-purple);
}

.site-header.is-mega-open .brand-logo-dark {
  display: none;
}

.site-header.is-mega-open .brand-logo-light {
  display: block;
}

.site-header.is-mega-open .icon-button[aria-label="Search"] img {
  filter: brightness(0);
}

.site-header.is-mega-open .icon-button[aria-label="Cart"] img {
  filter: saturate(0) brightness(1.9);
}

.site-header.is-mega-open .menu-button {
  color: #111111;
}

/* Scrolled state: transparent header becomes white once user scrolls past top */
.site-header.is-scrolled {
  background: #ffffff;
  filter: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  animation: none;
}
.site-header.is-scrolled .primary-nav a {
  color: #000000;
}
.site-header.is-scrolled .primary-nav a.is-active,
.site-header.is-scrolled .primary-nav a:hover {
  color: var(--color-purple);
}
.site-header.is-scrolled .brand-logo-dark {
  display: none;
}
.site-header.is-scrolled .brand-logo-light {
  display: block;
}
.site-header.is-scrolled .icon-button[aria-label="Search"] img {
  filter: brightness(0);
}
.site-header.is-scrolled .icon-button[aria-label="Cart"] img {
  filter: saturate(0) brightness(1.9);
}
.site-header.is-scrolled .menu-button {
  color: #111111;
}
.site-header.is-scrolled .cart-count {
  border-color: rgba(151, 40, 184, 0.35);
}

/* ─── Mega Menu ─── */
.mega-menu {
  position: absolute;
  top: 80px;
  left: 50%;
  z-index: 5;
  width: min(100vw, 1440px);
  color: #000000;
  background: #ffffff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-header.is-mega-open .mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  width: 100%;
  padding: 24px 48px 32px 48px;
}

.mega-menu-back {
  display: none;
}

.mega-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.mega-menu-nav h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 48px;
  text-transform: uppercase;
}

.mega-menu-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-menu-nav li {
  min-height: 36px;
}

.mega-menu-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  line-height: 36px;
  color: #000000;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.mega-menu-nav a:hover,
.mega-menu-nav a:focus-visible {
  color: var(--color-purple);
  transform: translateX(4px);
}

.mega-menu-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 136px;
  min-height: 40px;
  margin-top: auto;
  padding: 8px 24px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 100px;
}
.mega-menu-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mega-menu-cta::after {
  content: none;
}

.mega-menu-nav .mega-menu-cta,
.mega-menu-nav .mega-menu-cta:hover,
.mega-menu-nav .mega-menu-cta:focus-visible {
  transform: none;
}

.mega-menu-cta span {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.5px;
}

.mega-menu-cta img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.mega-menu-shops .mega-menu-grid {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.mega-menu-shops .mega-menu-card {
  aspect-ratio: auto;
}

.mega-menu-shops .mega-menu-cta {
  margin-top: 24px;
}

.mega-menu-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 220/238;
  overflow: hidden;
  color: #ffffff;
  background: #2a032d;
  border-radius: 12px;
  isolation: isolate;
}

.mega-menu-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.mega-menu-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180.08deg, rgba(0, 0, 0, 0) -60.69%, rgba(0, 0, 0, 0.4) 91.24%);
}

.mega-menu-card span {
  position: absolute;
  left: calc(50% - 214px / 2);
  top: calc(50% - 28px / 2);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  height: 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 28px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

.mega-menu-card span:has(br) {
  top: calc(50% - 56px / 2);
  height: 56px;
}

.mega-menu-card:hover img,
.mega-menu-card:focus-visible img {
  transform: scale(1.04);
}

.mega-menu-dine .mega-menu-card {
  aspect-ratio: 220/340;
}

.mega-menu-entertainment .mega-menu-content {
  grid-template-columns: 411px 692px;
  justify-content: space-between;
}
.mega-menu-entertainment .mega-menu-nav h2 {
  width: 477px;
}
.mega-menu-entertainment .mega-menu-grid {
  display: flex;
  gap: 16px;
  width: 692px;
}
.mega-menu-entertainment .mega-menu-card {
  width: 220px;
  height: 340px;
  aspect-ratio: auto;
  flex: 0 0 220px;
}

@media (max-width: 1180px) {
  .brand {
    left: 30px;
  }
  .header-actions {
    right: 30px;
  }
  .mega-menu-content {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    padding-right: 32px;
    padding-left: 32px;
  }
  .mega-menu-nav a {
    font-size: 20px;
  }
  .mega-menu-entertainment .mega-menu-content {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
  }
  .mega-menu-entertainment .mega-menu-nav h2 {
    width: auto;
  }
  .mega-menu-entertainment .mega-menu-grid {
    width: 100%;
  }
  .mega-menu-entertainment .mega-menu-card {
    width: auto;
    height: auto;
    aspect-ratio: 220/340;
    flex: 1 1 0;
  }
}

@media (max-width: 900px) {
  body[data-header="light"] {
    padding-top: 76px;
  }
  .site-header {
    display: flex;
    align-items: center;
    height: 76px;
    padding: 0 20px;
  }
  .brand {
    position: relative;
    left: auto;
    top: auto;
    width: 74px;
    height: 40px;
  }
  .primary-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }

  .site-header.is-mobile-open {
    height: auto;
    min-height: 76px;
    background: #ffffff;
    filter: none;
    /* inset (not a normal drop shadow) so it stays inside the header's own box —
       the full-screen menu panel below would otherwise paint over an outer shadow. */
    box-shadow: inset 0px -2px 4px 0px #00000026;
  }
  /* Mobile menu open: white header, dark logo + icons so they stay visible */
  .site-header.is-mobile-open .brand-logo-dark {
    display: none;
  }
  .site-header.is-mobile-open .brand-logo-light {
    display: block;
  }
  .site-header.is-mobile-open .icon-button[aria-label="Search"] img {
    filter: brightness(0);
  }
  .site-header.is-mobile-open .icon-button[aria-label="Cart"] img {
    filter: saturate(0) brightness(1.9);
  }
  .site-header.is-mobile-open .menu-button {
    color: #111111;
  }
  .site-header.is-mobile-open .primary-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    height: calc(100vh - 76px);
    padding: 28px 24px 40px;
    background: #ffffff;
    transform: none;
    overflow-y: hidden;
  }
  .site-header.is-mobile-open .primary-nav a,
  .site-header.is-mobile-open .primary-nav a:nth-child(n) {
    width: 100%;
    height: auto;
    padding: 0;
    justify-content: flex-start;
    text-align: left;
    color: #000000;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.5px;
  }
  .site-header.is-mobile-open .primary-nav a[data-mega-menu] .nav-dropdown-icon {
    width: 7px;
    height: 11px;
    transform: rotate(-90deg);
  }
  .site-header.is-mobile-open .primary-nav a.is-active,
  .site-header.is-mobile-open .primary-nav a.is-active:nth-child(n) {
    color: var(--color-purple);
  }

  .header-actions {
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    gap: 12px;
  }
  .icon-button {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 28px;
    height: 28px;
  }

  .mega-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 76px);
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-10px);
  }
  .site-header.is-mega-open .mega-menu.is-open {
    transform: translateY(0);
  }

  .mega-menu-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 24px;
    padding: 65px 20px 32px;
  }
  .mega-menu-back {
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: 2;
    display: flex;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .mega-menu-back::before,
  .mega-menu-back::after {
    position: absolute;
    content: "";
    background: #000000;
  }
  .mega-menu-back::before {
    top: 16px;
    left: 8px;
    width: 21px;
    height: 2px;
    border-radius: 999px;
  }
  .mega-menu-back::after {
    top: 11px;
    left: 8px;
    width: 12px;
    height: 12px;
    background: transparent;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    transform: rotate(-45deg);
  }
  .mega-menu-nav h2 {
    max-width: none;
    padding-left: 0;
    margin-bottom: 20px;
    font-size: 30px;
  }
  .mega-menu-nav li {
    min-height: 42px;
  }
  .mega-menu-nav a {
    font-size: 18px;
  }
  .mega-menu-cta {
    margin-top: 16px;
  }
  .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-menu-card span {
    left: 8px;
    right: 8px;
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    font-size: 13px;
    line-height: 1.3;
  }
  .mega-menu-card span:has(br) {
    top: 50%;
    transform: translateY(-50%);
    height: auto;
  }

  .mega-menu-dine .mega-menu-content,
  .mega-menu-entertainment .mega-menu-content {
    padding: 65px 20px 32px;
  }
  .mega-menu-dine .mega-menu-grid {
    margin-top: 0;
  }
  .mega-menu-entertainment .mega-menu-nav .mega-menu-cta {
    margin-top: 16px;
  }
  .mega-menu-entertainment .mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 0;
  }
  .mega-menu-entertainment .mega-menu-card {
    width: auto;
    height: auto;
    flex: none;
  }
  .mega-menu-shops .mega-menu-grid,
  .mega-menu-dine .mega-menu-grid,
  .mega-menu-entertainment .mega-menu-grid {
    display: none !important;
  }
  .mega-menu-shops .mega-menu-card,
  .mega-menu-dine .mega-menu-card,
  .mega-menu-entertainment .mega-menu-card {
    display: none !important;
  }
}

@keyframes headerIntro {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Newsletter ─── */
.newsletter-section {
  background: transparent;
  padding: 120px 0px 128px;
  text-align: center;
}
.newsletter-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.newsletter-heading {
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 800;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--color-purple);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.newsletter-input {
  flex: 1 1 280px;
  max-width: 400px;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #d6d3d0;
  border-radius: 0;
  font-size: 16px;
  color: #111111;
  outline: none;
}
.newsletter-input::placeholder {
  color: #111111;
}

.newsletter-btn {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  padding: 14px 36px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 16px;
  font-weight: 600;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.newsletter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.newsletter-btn::after {
  content: none;
}
.newsletter-btn:hover,
.newsletter-btn:focus-visible {
  opacity: 0.88;
}
.newsletter-btn.is-loading {
  opacity: 0.55;
  cursor: wait;
}

.newsletter-msg {
  margin-top: 0;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  font-family: var(--font-body);
  text-align: center;
  line-height: 1.4;
  transition:
    max-height 0.3s ease,
    margin-top 0.3s ease;
}
.newsletter-msg:not(:empty) {
  max-height: 60px;
  margin-top: 10px;
}
.newsletter-msg.error {
  color: #e53935;
}
.newsletter-success-msg {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: center;
  color: #189c7d;
}

.newsletter-consent.consent-error .newsletter-consent-checkbox {
  outline: 2px solid #e53935;
  outline-offset: 2px;
}

.newsletter-form-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
  cursor: pointer;
  margin-top: 0;
  width: 100%;
  max-width: 620px;
  justify-content: center;
}
.newsletter-consent.visible {
  max-height: 80px;
  opacity: 1;
  margin-top: 16px;
}

.newsletter-consent-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #9728b8;
  cursor: pointer;
}
.newsletter-consent span {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  text-align: left;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--color-footer-bg);
  color: #ffffff;
}

.site-footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 56px 40px 44px;
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(132px, 0.68fr) minmax(168px, 0.78fr) minmax(340px, 1fr);
  gap: 36px 44px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  display: block;
  width: min(168px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.footer-desc {
  margin: 28px 0 0;
  max-width: 264px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.95);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}
.footer-socials-mobile {
  display: none;
  padding: 0;
  list-style: none;
}
.footer-open-hours {
  display: none;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.footer-nav-col,
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a,
.footer-col nav a {
  font-size: 18px;
  font-weight: 500;
  line-height: 27.9px;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.96);
  transition: color 0.15s;
}
.footer-nav-col a:hover,
.footer-nav-col a:focus-visible,
.footer-col nav a:hover,
.footer-col nav a:focus-visible {
  color: #ffffff;
}

.footer-col-heading {
  margin: 0 0 26px;
  font-size: 25px;
  font-weight: 700;
  line-height: 33.6px;
  letter-spacing: 0;
  color: #ffffff;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-address p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}
.footer-address-main {
  font-family: Figtree, var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 26.35px;
  letter-spacing: 0;
}
.footer-address-main + .footer-contact-line {
  margin-top: 10px;
}
.footer-contact-line {
  font-family: "Helvetica Neue";
  font-size: 18px;
  font-weight: 500;
  line-height: 27.9px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.footer-address a {
  color: #ffffff;
}

.footer-bottom-inner {
  width: min(1270px, 100%);
  margin: 0 auto;
  padding: 18px 40px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.footer-bottom-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}
.footer-bottom-inner a {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.15s;
}
.footer-bottom-inner a:hover {
  color: #ffffff;
}

@media (max-width: 960px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 44px 36px;
    padding: 72px 28px 60px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-social-link {
    width: 64px;
    height: 64px;
  }
  .footer-social-link svg {
    width: 22px;
    height: 22px;
  }
  .footer-bottom-inner {
    padding: 32px 28px 40px;
  }
  .footer-bottom-inner p {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .newsletter-section {
    padding: 120px 24px 56px 24px;
  }
  .newsletter-heading {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 24px;
  }
  .newsletter-form-row {
    display: contents;
  }
  .newsletter-input {
    order: 1;
    width: 210px;
    max-width: 210px;
    flex: none;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    border-bottom-color: #d6d3d0;
  }
  .newsletter-consent {
    order: 2;
    display: block;
    width: fit-content;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    gap: 0;
  }
  .newsletter-consent.visible {
    margin-top: 12px;
  }
  .newsletter-consent-checkbox {
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    margin-right: 6px;
  }
  .newsletter-consent span {
    display: inline;
    text-align: inherit;
  }
  .newsletter-btn {
    order: 3;
    width: 152px;
    height: 48px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 24px;
  }
  .newsletter-msg {
    order: 4;
    width: 100%;
    text-align: center;
  }
  .newsletter-success-msg {
    font-size: 16px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px 16px 48px;
    text-align: center;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
  }
  .footer-logo {
    margin: 0 auto;
    object-position: center;
  }
  .footer-desc {
    margin-top: 24px;
    max-width: 263px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-socials {
    display: none;
  }
  .footer-nav-col,
  .footer-col nav {
    align-items: center;
    gap: 5px;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .footer-col-heading {
    font-size: 25px;
    line-height: 34px;
    margin-bottom: 0;
  }
  .footer-address {
    align-items: center;
    gap: 10px;
  }
  .footer-address-main {
    font-size: 17px;
    line-height: 26.35px;
  }
  .footer-address-main + .footer-contact-line {
    margin-top: 0;
  }
  .footer-contact-line {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.5px;
  }

  .footer-sep-first {
    display: none;
  }
  .footer-socials-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .footer-socials-mobile .footer-social-link {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .footer-socials-mobile .footer-social-link svg {
    width: 18px;
    height: 18px;
  }
  .footer-bottom-inner {
    padding: 18px 20px;
    border-top: 1px solid #ffffff;
    display: block;
    text-align: center;
  }
  .footer-bottom-inner p {
    font-size: 15px;
    line-height: 25px;
    color: #ffffff;
  }
  .footer-bottom-inner a {
    color: #ffffff;
  }
}

/* ─── Shared Event Card ─── */
.event-card {
  width: 404px;
  flex-shrink: 0;
  height: 500px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 24px;
  overflow: hidden;
}

.event-card-img-wrap {
  display: block;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  flex-shrink: 0;
}

.event-card-img-wrap > img,
.event-card > img {
  display: block;
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
}

.event-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  flex: 1;
  min-height: 0;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #333333;
}

.event-date-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.event-date-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #333333;
  stroke-width: 1.33333;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #131211;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 8px 20px;
  border: 1px solid #131211;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #131211;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.event-pill::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: currentColor;
  -webkit-mask: url("../images/shared/icon-arrow-up-right-20.svg") center / contain no-repeat;
  mask: url("../images/shared/icon-arrow-up-right-20.svg") center / contain no-repeat;
}

.event-pill:hover {
  color: #ffffff;
  background: #131211;
  transform: translateY(-1px);
}

.event-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  padding: 8px 12px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  color: #e9674a;
  background: rgba(233, 103, 74, 0.2);
  white-space: nowrap;
}

/* ─── Shared Banner/Hero Pattern ─── */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a2e 0%, #2c1032 100%);
  color: #ffffff;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 80px 24px 60px;
  text-align: center;
}

.page-banner-title-group {
  position: relative;
  display: inline-block;
}

.page-banner-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.page-banner-title--blur {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.page-banner-subtitle {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ─── Gradient Outline CTA Button ─── */
.btn-gradient {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  /* gradient text + interior + gradient border */
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.5px;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.btn-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* gradient border ring via mask */
.btn-gradient::after {
  content: none;
}
.btn-gradient:hover,
.btn-gradient:focus-visible {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ─── Accessibility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 2px;
}
/* Text-entry fields already have their own border — drop the purple focus outline.
   Buttons, links, checkboxes and radios keep it for keyboard accessibility. */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
}

/* ─── Place listing pagination ─── */
.hcm-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  height: 40px;
  margin-left: auto;
  flex-wrap: nowrap;
  margin-top: 12px;
}

.hcm-pagination[hidden] {
  display: none;
}

.hcm-page-btn,
.hcm-page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  flex-shrink: 0;
}

.hcm-page-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #807da2;
  background: rgba(255, 255, 255, 0.05);
  border: none;
}

.hcm-page-btn:hover:not(.is-active) {
  background: rgba(151, 40, 184, 0.1);
  color: var(--color-purple);
}

.hcm-page-btn.is-active {
  background: linear-gradient(to left, #f002ae, #9728b8);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.4);
}

.hcm-page-arrow {
  background: transparent;
  border: 1.5px solid #7b2cbf;
  flex-shrink: 0;
}

.hcm-page-arrow:first-child {
  margin-right: 6px;
}

.hcm-page-arrow:last-child {
  margin-left: 6px;
}

.hcm-page-arrow:hover:not([disabled]) {
  background: rgba(123, 44, 191, 0.08);
}

.hcm-page-arrow[disabled] {
  cursor: default;
  pointer-events: none;
}

.hcm-page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.hcm-page-ellipsis span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4a4668;
}

@media (max-width: 768px) {
  .hcm-pagination {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hcm-page-btn,
  .hcm-page-arrow,
  .hcm-page-ellipsis {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ── Custom sort dropdown (shop / dine / gaming / entertainment) ── */
.hcm-sort-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 24px;
  color: #717680;
  background: #ffffff;
  border: 1px solid #d5d7da;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
  text-align: left;
  gap: 8px;
}
.hcm-sort-btn[aria-expanded="true"] {
  border-color: var(--color-purple);
  outline: none;
}
.hcm-sort-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.hcm-sort-btn[aria-expanded="true"] .hcm-sort-chevron {
  transform: rotate(180deg);
}
.hcm-sort-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.hcm-sort-option {
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #333333;
  cursor: pointer;
}
.hcm-sort-option:hover {
  background: var(--color-page-bg);
}
.hcm-sort-option--active {
  color: var(--color-purple);
  font-weight: 600;
}
