*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F7F5F0; --black: #0F0F0F; --white: #FFFFFF;
  --gray-light: #F5F5F3; --gray-mid: #E2E0DC; --gray-text: #6B6B6B;
  --green: #62ec38; --green-dark: #3a7d44;
  --radius: 14px; --radius-sm: 8px;
}
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: var(--cream); color: var(--black); min-height: 100vh; overflow-x: hidden;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ══ NAV (matches home) ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px; background: rgba(17,17,17,0.96); backdrop-filter: blur(16px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1rem; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 600;
  display: flex; align-items: center; padding: 6px 13px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-links a.active { background: rgba(255,255,255,0.2); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-nav {
  background: #fff; color: var(--black); border: none; padding: 9px 20px; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; transition: opacity .2s, transform .15s;
}

.mobile-menu { max-height: calc(100vh - 90px); overflow-y: auto; z-index: 150; }

.nav-logo img{width:67px!important; height:37px!important}

/* ══ Logged-in user menu (injected by Directory.js) ══ */
#navRight { position: relative; }

#navRight [class*="user"],
#navRight [class*="account"]:not(.btn-account),
#navRight [class*="profile"] {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}

/* avatar initials (AD) */
#navRight [class*="avatar"], #navRight [class*="initials"] {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
}

/* email */
#navRight [class*="email"], #navRight [class*="name"] {
  color: rgba(255,255,255,0.85); max-width: 170px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* dropdown panel: hidden until opened */
#navRight [class*="dropdown"], #navRight [class*="menu"]:not(.burger) {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 210px; z-index: 200;
  display: none; flex-direction: column; gap: 2px; padding: 8px;
  background: #1b1b1b; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
#navRight [class*="dropdown"].open, #navRight [class*="dropdown"].show, #navRight [class*="dropdown"].active,
#navRight [class*="menu"].open, #navRight [class*="menu"].show, #navRight [class*="menu"].active,
#navRight .open > [class*="dropdown"], #navRight .show > [class*="dropdown"], #navRight .active > [class*="dropdown"] {
  display: flex;
}

/* dropdown items */
#navRight [class*="dropdown"] a, #navRight [class*="dropdown"] button,
#navRight [class*="menu"]:not(.burger) a, #navRight [class*="menu"]:not(.burger) button {
  display: block; width: 100%; text-align: left; text-decoration: none;
  background: none; border: none; color: #fff; font-family: inherit;
  font-size: 0.85rem; font-weight: 600; padding: 10px 12px; border-radius: 10px; cursor: pointer;
}
#navRight [class*="dropdown"] a:hover, #navRight [class*="dropdown"] button:hover,
#navRight [class*="menu"]:not(.burger) a:hover, #navRight [class*="menu"]:not(.burger) button:hover {
  background: rgba(255,255,255,0.12);
}

/* chevron */
#navRight [class*="user"] svg, #navRight [class*="chevron"] { color: rgba(255,255,255,0.7); flex-shrink: 0; }

@media (max-width: 960px) {
  #navRight [class*="email"], #navRight [class*="name"] { display: none; }
}



.btn-nav:hover { opacity: .88; transform: scale(1.03); }
.nav-wl-btn {
  position: relative; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px;
  color: #fff; font-family: inherit; font-size: 0.8rem; font-weight: 600; transition: background .2s;
}
.nav-wl-btn:hover { background: rgba(255,255,255,0.15); }
.nav-wl-btn svg path { transition: fill .2s, stroke .2s; }
.nav-wl-btn:hover svg path { fill: #e44e4e; stroke: #e24b4a; }
.wl-count-badge {
  position: absolute; top: -6px; right: -6px; background: var(--green); color: var(--black);
  font-size: 0.62rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1;
}
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 16px; right: 16px; border-radius: 20px; background: #fff;
  z-index: 99; padding: 20px 24px 28px; flex-direction: column; gap: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.14);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--black); font-size: 1rem; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }

/* ══ SPECIALS (top block) ══ */
.sp-wrap { padding: 100px 48px 8px; max-width: 1200px; margin: 0 auto; }
.sp-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.sp-head h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.see-all { font-size: 0.84rem; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.sp-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.sp-track::-webkit-scrollbar { display: none; }
.sp-card {
  position: relative; flex: 0 0 calc(50% - 8px); height: 280px; border-radius: 22px; overflow: hidden; scroll-snap-align: start;
  display: block; color: #fff; text-decoration: none; background: #222; box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}
.sp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); transition: transform .5s ease; }
.sp-card:hover img { transform: scale(1.04); }
.sp-badge { position: absolute; top: 18px; left: 18px; background: #fff; color: var(--black); font-size: 0.74rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.sp-text { position: absolute; left: 24px; bottom: 70px; right: 24px; }
.sp-text h3 { font-size: 1.9rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.sp-text p { font-size: 0.9rem; margin-top: 6px; color: rgba(255,255,255,0.85); }
.sp-claim { position: absolute; left: 24px; bottom: 22px; background: #ef5350; color: #fff; font-size: 0.88rem; font-weight: 700; padding: 11px 28px; border-radius: 999px; }

/* slider indicators */
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.dot { width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0; background: #cfcdc7; cursor: pointer; transition: width .25s, background .25s; }
.dot.on { width: 22px; background: var(--green-dark); }
#spDots .dot.on { background: #ef5350; }

/* ══ FILTER BAR (full width, as before) ══ */
.filters-wrap { background: #fff; border-top: 1px solid var(--gray-mid); border-bottom: 1px solid var(--gray-mid); margin-top: 24px; position: relative; z-index: 5; }
.filters-inner, .filter-section, .results-bar { max-width: 1200px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.filters-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 0; }
.search-box {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px;
  border: 1px solid var(--gray-mid); background: var(--cream); border-radius: 999px; padding: 10px 16px; transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--green); }
.search-box input { border: none; outline: none; background: none; font-family: inherit; font-size: 0.88rem; color: var(--black); width: 100%; }
.search-box input::placeholder { color: var(--gray-text); }
.filter-select {
  border: 1px solid var(--gray-mid); background-color: #fff; color: var(--black); padding: 9px 32px 9px 14px;
  border-radius: 999px; font-family: inherit; font-size: 0.8rem; cursor: pointer; outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%236B6B6B' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; transition: border-color .2s;
}
.filter-select:hover, .filter-select:focus { border-color: var(--green); }
.filter-section { display: flex; gap: 18px; overflow-x: auto; padding-top: 16px; padding-bottom: 8px; scrollbar-width: none; }
.filter-section::-webkit-scrollbar { display: none; }
.pill { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.cat-ico { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #222; box-shadow: 0 2px 10px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.cat-lbl { font-size: 0.74rem; font-weight: 500; color: var(--gray-text); white-space: nowrap; }
.pill:hover .cat-ico { transform: translateY(-2px); }
.pill.active .cat-ico { background: #1b1b1b; color: #fff; }
.pill.active .cat-lbl { color: var(--black); font-weight: 700; }
.results-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 10px; }
.results-count { font-size: 0.82rem; color: var(--gray-text); }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 0.78rem; color: var(--gray-text); }

/* ══ MAIN ══ */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 48px 80px; }
.error-banner { background: #fef2f2; border: 1px solid #fecaca; color: #ef4444; font-size: 0.84rem; padding: 14px 20px; border-radius: 14px; margin-bottom: 20px; display: none; }
.error-banner.show { display: block; }

#btnAddBusiness {
  position: fixed; bottom: 32px; right: 32px; background: var(--green); color: var(--black); border: none; border-radius: 999px;
  padding: 13px 22px; font-family: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; display: none;
  align-items: center; gap: 8px; box-shadow: 0 4px 20px rgba(98,236,56,0.4); z-index: 80; transition: transform .2s;
}
#btnAddBusiness:hover { transform: scale(1.04); }

/* ══ LISTING CARDS: image on top, white body, in a slider ══ */
.slider-wrap { position: relative; }
.slider-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 6; width: 40px; height: 40px; border-radius: 50%; border: none;
  background: #fff; color: var(--black); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: opacity .2s;
}
.slider-arrow.prev { left: -14px; } .slider-arrow.next { right: -14px; }
.slider-arrow.is-off { opacity: 0; pointer-events: none; }
.business-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.biz-card {
  position: relative; display: flex; flex-direction: column; min-height: 0; background: #fff; color: var(--black);
  border: 1px solid rgba(0,0,0,0.08); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.biz-card { border-radius: 18px; }
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.14); }
.biz-card.featured { border-color: var(--green); }
.biz-card::after { content: none; }
.biz-img-col { position: relative; inset: auto; width: auto; height: 180px; min-height: 0; max-height: none; margin: 10px 10px 0; border-radius: 14px; border-radius: 12px; overflow: hidden; background: var(--gray-light); }
.biz-img-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.biz-card:hover .biz-img-col img { transform: scale(1.04); }
.biz-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: #e8eaf6; }
.thumb-strip { display: none; }
.featured-badge-top { position: absolute; top: 18px; left: 18px; z-index: 2; background: #22c55e; color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 6px; }
.wishlist-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.92); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.14); transition: transform .15s; }
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn svg path { transition: fill .2s, stroke .2s; }
.wishlist-btn.wl-active svg path { fill: #e24b4a; stroke: #e24b4a; }

.biz-info-col { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 16px 4px; border: none; }
.biz-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.biz-name { font-size: 1rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--black); }
.biz-card:hover .biz-name { text-decoration: none; }
.biz-stars { display: flex; gap: 2px; flex-shrink: 0; }
.biz-category-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; order: -1; }
.cat-badge { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-dark); display: inline-flex; align-items: center; gap: 5px; }
.cat-dot { display: none; }
.loc-link { font-size: 0.74rem; color: var(--gray-text); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.loc-dist { font-size: 0.72rem; color: var(--gray-text); }
.biz-desc { font-size: 0.78rem; line-height: 1.5; color: #555; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--gray-mid); }
.amenity-tag { background: var(--gray-light); color: #555; font-size: 0.64rem; font-weight: 500; padding: 3px 8px; border-radius: 999px; border: none; }
.biz-contact-row { display: none; }
.biz-hours { font-size: 0.72rem; color: var(--gray-text); display: flex; align-items: center; gap: 5px; }

.biz-score-col { width: auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; padding: 8px 16px 14px; }
.biz-score-col > div:not(.score-top) { display: flex; flex-direction: row; gap: 8px; flex: 1 1 0; min-width: 0; }
.score-top { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.score-label, .score-reviews { font-size: 0.72rem; color: var(--gray-text); }
.score-badge, .score-badge.excellent, .score-badge.great, .score-badge.good { width: 52px; height: 52px; border-radius: 14px; background: var(--black); color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* rating colours: yellow = very good, blue = okay, orange = decent */
.score-badge.excellent { background: #ffc928; color: #111; }
.score-badge.great { background: #2f6df6; color: #fff; }
.score-badge.good { background: #f59e0b; color: #111; }
.btn-book, .btn-view-detail { flex: 1 1 0; min-width: 0; width: auto; border-radius: 999px; padding: 9px 10px; font-family: inherit; font-size: 0.76rem; font-weight: 700; cursor: pointer; text-align: center; white-space: nowrap; transition: opacity .2s; }
.btn-book { background: #34a518; color: #fff; border: none; }
.btn-view-detail { background: #fff; color: var(--black); border: 1.5px solid var(--gray-mid); }
.biz-action-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 8px; padding: 8px 16px 14px; margin-top: auto; }
.biz-action-row .btn-view-detail, .biz-action-row .btn-book { flex: 1 1 0; min-width: 0; width: auto; margin: 0; display: block; }
.biz-action-row .score-top { flex: 0 0 100%; }
.biz-score-col:empty { display: none; }
.btn-book:hover { opacity: .85; }
.btn-view-detail:hover { border-color: var(--black); }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--gray-text); }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--black); }

/* skeleton */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 600px 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }
.skeleton-card { height: 400px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.skeleton-img { width: 100%; height: 100%; border-radius: 0; }
.skeleton-body { display: none; }

/* ══ PAGINATION ══ */
.pagination-wrap { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pagination-wrap.top { margin: 0 0 24px; }
.pagination-info { font-size: 0.82rem; color: var(--gray-text); }
.pagination { display: flex; align-items: center; gap: 6px; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; background: var(--black); color: #fff;
  font-family: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .18s; padding: 0 4px;
}
.page-btn:hover { border-color: var(--black); background: #fff; color: var(--black); }
.page-btn.active { background: var(--green); border-color: var(--green); color: var(--black); }
.page-btn.disabled { opacity: .3; pointer-events: none; }
.page-ellipsis { width: 40px; text-align: center; color: var(--gray-text); }

/* ══ MODALS ══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,15,15,0.55); backdrop-filter: blur(6px); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: 24px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 24px 28px 0; display: flex; align-items: center; justify-content: space-between; }
.modal-header h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--gray-light); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--black); transition: background .2s; }
.modal-close:hover { background: var(--gray-mid); }
.modal-body { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.booking-biz-name { font-size: 0.9rem; color: var(--gray-text); }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 0.75rem; font-weight: 600; color: var(--black); }
.form-input { background: #fafafa; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 14px; font-family: inherit; font-size: 0.88rem; color: var(--black); outline: none; transition: border-color .2s; }
.form-input:focus { border-color: var(--green); background: #fff; }
textarea.form-input { resize: vertical; min-height: 80px; }
select.form-input { cursor: pointer; }
.btn-submit { background: var(--black); color: #fff; border: none; padding: 13px 28px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: opacity .2s; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.btn-submit:hover { opacity: .85; }
.btn-submit:disabled { opacity: .4; pointer-events: none; }
.modal-err { background: #fef2f2; border: 1px solid #fecaca; color: #ef4444; font-size: 0.8rem; padding: 10px 14px; border-radius: 10px; display: none; }
.modal-err.show { display: block; }
.add-modal { background: #fff; border-radius: 24px; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; }
.add-modal .modal-header { padding: 28px 32px 0; }
.add-modal .modal-body { padding: 24px 32px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group.full { grid-column: 1 / -1; }

/* wishlist modal */
#wishlistModal { align-items: flex-start; overflow-y: scroll; -webkit-overflow-scrolling: touch; padding: 40px 20px 60px; }
.wl-modal { background: #fff; border-radius: 24px; max-width: 680px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; box-shadow: 0 24px 70px rgba(0,0,0,0.3); flex-shrink: 0; transform: translateY(20px); transition: transform .3s cubic-bezier(.34,1.3,.64,1); }
#wishlistModal.open .wl-modal { transform: translateY(0); }
.wl-modal-header { padding: 22px 28px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gray-mid); }
.wl-modal-title { display: flex; align-items: center; gap: 10px; }
.wl-modal-title h2 { font-size: 1.2rem; font-weight: 700; }
.wl-count-chip { background: var(--gray-light); color: var(--gray-text); font-size: 0.72rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.wl-header-actions { display: flex; align-items: center; gap: 10px; }
.wl-clear-btn { background: none; border: 1px solid var(--gray-mid); color: var(--gray-text); font-family: inherit; font-size: 0.75rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.wl-clear-btn:hover { border-color: #e24b4a; color: #e24b4a; }
.wl-modal-body { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.wl-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 20px; color: var(--gray-text); font-size: 0.85rem; }
.wl-spinner { width: 22px; height: 22px; border: 2.5px solid var(--gray-mid); border-top-color: var(--green); border-radius: 50%; animation: wl-spin .7s linear infinite; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl-empty { display: flex; flex-direction: column; align-items: center; padding: 60px 20px; gap: 10px; text-align: center; color: var(--gray-text); }
.wl-empty p { font-size: 1rem; font-weight: 700; color: var(--black); }
.wl-empty span { font-size: 0.82rem; }
.wl-card { display: flex; align-items: stretch; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 20px; overflow: hidden; position: relative; transition: box-shadow .2s, transform .2s; }
.wl-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.1); transform: translateY(-1px); }
.wl-card-img { width: 110px; flex-shrink: 0; position: relative; overflow: hidden; background: var(--gray-light); min-height: 110px; border-radius: 14px; margin: 10px 0 10px 10px; }
.wl-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.wl-card-info { flex: 1; padding: 14px 44px 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wl-card-name { font-size: 0.98rem; font-weight: 700; color: var(--black); cursor: pointer; line-height: 1.3; }
.wl-card-name:hover { text-decoration: underline; }
.wl-card-meta, .wl-card-hours { font-size: 0.74rem; color: var(--gray-text); display: flex; align-items: center; gap: 5px; }
.wl-card-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.wl-book-btn { background: var(--black); color: #fff; border: none; padding: 8px 18px; border-radius: 999px; font-family: inherit; font-size: 0.76rem; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.wl-book-btn:hover { opacity: .85; }
.wl-wa-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #bfeccd; color: #1faa55; padding: 7px 14px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.wl-wa-btn:hover { background: #f0fdf4; }
.wl-remove-btn { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--gray-mid); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray-text); transition: all .2s; z-index: 2; }
.wl-remove-btn:hover { background: #fef2f2; color: #e24b4a; border-color: #fecaca; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--black); color: #fff; padding: 12px 24px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; box-shadow: 0 8px 32px rgba(0,0,0,0.2); transition: transform .3s, opacity .3s; opacity: 0; z-index: 999; white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.green { background: var(--green); color: var(--black); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) {
  .sp-card { flex-basis: 70%; }
  .sp-wrap, .main-wrap { padding-left: 32px; padding-right: 32px; }
  .filters-inner, .filter-section, .results-bar { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 960px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  #navSignIn { display: none; }
  .slider-arrow.prev { left: 4px; } .slider-arrow.next { right: 4px; }
}
@media (max-width: 700px) {
  .sp-wrap { padding: 88px 20px 4px; }
  .main-wrap { padding: 24px 20px 60px; }
  .filters-inner, .filter-section, .results-bar { padding-left: 20px; padding-right: 20px; }
  .sp-card { flex-basis: 88%; height: 240px; }
  .sp-text { bottom: 64px; }
  .sp-text h3 { font-size: 1.5rem; }
  .business-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .biz-card { border-radius: 14px; }
  .biz-img-col { height: 110px; margin: 6px 6px 0; border-radius: 10px; }
  .featured-badge-top { top: 10px; left: 10px; font-size: 0.55rem; padding: 3px 6px; }
  .wishlist-btn { width: 28px; height: 28px; }
  .biz-info-col { padding: 8px 10px 2px; gap: 4px; }
  .biz-name { font-size: 0.8rem; }
  .biz-stars, .biz-desc, .biz-amenities, .biz-hours, .loc-dist { display: none; }
  .cat-badge { font-size: 0.56rem; }
  .loc-link { font-size: 0.64rem; }
  .biz-action-row { padding: 6px 10px 10px; gap: 8px 6px; }
  .score-badge, .score-badge.excellent, .score-badge.great, .score-badge.good { width: 40px; height: 40px; font-size: 1rem; border-radius: 11px; }
  .score-label, .score-reviews { font-size: 0.6rem; }
  .btn-book, .btn-view-detail { font-size: 0.62rem; padding: 8px 2px; }
  .filters-inner > * { flex: 1 1 100%; }
  .filters-inner .filter-select { flex: 1 1 calc(50% - 6px); }
  .form-row { grid-template-columns: 1fr; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  #wishlistModal { padding: 0; align-items: flex-end; }
  .wl-modal { border-radius: 20px 20px 0 0; max-width: 100%; }
  .wl-modal-header { border-radius: 20px 20px 0 0; }
  .wl-card-img { width: 80px; min-height: 90px; }
  .wl-modal-body { padding: 16px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }


/* ══ SECTIONS (app-style rows) ══ */
.legacy-hidden { display: none !important; }
.sec { padding: 22px 0 10px; border-bottom: 8px solid #efede8; margin: 0 -48px; padding-left: 48px; padding-right: 48px; }
.sec:last-child { border-bottom: none; }
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.sec-head p { font-size: 0.8rem; color: var(--gray-text); margin-top: 3px; }
.see-all-btn { background: var(--gray-light); border: none; border-radius: 999px; padding: 8px 16px; font-family: inherit; font-size: 0.8rem; font-weight: 700; color: var(--black); cursor: pointer; white-space: nowrap; transition: background .2s; }
.see-all-btn:hover { background: var(--gray-mid); }
.row-wrap { position: relative; }
.row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 16px; }
.row::-webkit-scrollbar { display: none; }
.row.mini { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 360px; gap: 14px 16px; }
.row-arrow { position: absolute; top: 40%; transform: translateY(-50%); z-index: 6; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--black); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.2); transition: opacity .2s; }
.row-arrow.prev { left: -14px; } .row-arrow.next { right: -14px; }
.row-arrow.is-off { opacity: 0; pointer-events: none; }

.uc-card { flex: 0 0 270px; scroll-snap-align: start; color: inherit; text-decoration: none; display: block; }
.uc-img { position: relative; overflow: hidden; background: #dcd9d2; }
.uc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.uc-card:hover .uc-img img, .uc-mini:hover .uc-img img { transform: scale(1.05); }
.uc-card .uc-img { height: 160px; border-radius: 16px; }
.uc-heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border: none; background: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45)); transition: transform .15s; }
.uc-heart svg { fill: none; }
.uc-heart:hover { transform: scale(1.12); }
.uc-heart.on { color: #e24b4a; }
.uc-heart.on svg { fill: currentColor; }
.uc-badge { position: absolute; left: 0; bottom: 12px; background: #2f9e44; color: #fff; font-size: 0.74rem; font-weight: 700; padding: 5px 12px 5px 10px; border-radius: 0 6px 6px 0; }
.uc-body { padding-top: 10px; min-width: 0; }
.uc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.uc-body h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-body p { font-size: 0.78rem; color: var(--gray-text); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-rate { flex-shrink: 0; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.r-gold { background: #ffc928; color: #111; }
.r-blue { background: #2f6df6; color: #fff; }
.r-orange { background: #f59e0b; color: #111; }

.uc-mini { display: flex; align-items: center; gap: 14px; scroll-snap-align: start; color: inherit; text-decoration: none; min-width: 0; }
.uc-mini .uc-img { flex: 0 0 104px; height: 104px; border-radius: 12px; }
.uc-mini .uc-heart { top: 4px; right: 4px; width: 28px; height: 28px; }
.uc-mini .uc-body { flex: 1; padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 16px; padding-bottom: 20px; }
.grid .uc-card { flex: none; }
.uc-skel { flex: 0 0 270px; height: 210px; border-radius: 16px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 600px 100%; animation: shimmer 1.4s infinite; }
.dir-empty { text-align: center; padding: 70px 20px; color: var(--gray-text); }
.dir-empty h3 { font-size: 1.1rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }

@media (max-width: 1100px) { .sec { margin: 0 -32px; padding-left: 32px; padding-right: 32px; } }
@media (max-width: 700px) {
  .sec { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .sec-head h2 { font-size: 1.2rem; }
  .row-arrow { display: none; }
  .uc-card, .uc-skel { flex-basis: 72%; }
  .row.mini { grid-auto-columns: 86%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .grid .uc-img { height: 120px; }
}

/* ══ User menu fix (click to open) ══ */
#navRight .um-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
  white-space: nowrap !important;
  cursor: pointer;
}

#navRight .um-panel {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  left: auto !important;
  width: 220px !important;
  min-width: 0 !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 8px !important;
  margin: 0 !important;
  background: #1b1b1b !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45) !important;
  list-style: none !important;
  z-index: 300 !important;
  white-space: normal !important;
}

#navRight .um-wrap.um-open .um-panel,
#navRight .um-open > .um-panel {
  display: flex !important;
}

#navRight .um-panel > * {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
  text-decoration: none !important;
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

#navRight .um-panel > *:hover {
  background: rgba(255,255,255,0.12) !important;
}

#navRight .um-panel > .um-signout {
  margin-top: 6px !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 0 10px 10px !important;
  color: #ff7b7b !important;
}


/* ══ Fix: items inside the dropdown must not get panel styling ══ */
#navRight [class*="dropdown"] [class*="dropdown"],
#navRight [class*="dropdown"] [class*="menu"],
#navRight [class*="menu"]:not(.burger) [class*="menu"],
#navRight [class*="menu"]:not(.burger) [class*="dropdown"],
#navRight [class*="dropdown"] li,
#navRight [class*="menu"]:not(.burger) li {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  list-style: none !important;
  z-index: auto !important;
}

/* links and buttons: normal rows inside the panel */
#navRight [class*="dropdown"] a,
#navRight [class*="dropdown"] button,
#navRight [class*="menu"]:not(.burger) a,
#navRight [class*="menu"]:not(.burger) button {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  text-decoration: none !important;
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}

#navRight [class*="dropdown"] a:hover,
#navRight [class*="dropdown"] button:hover,
#navRight [class*="menu"]:not(.burger) a:hover,
#navRight [class*="menu"]:not(.burger) button:hover {
  background: rgba(255,255,255,0.12) !important;
}

/* Sign Out in red with a divider above it */
#navRight [class*="dropdown"] button:last-child,
#navRight [class*="menu"]:not(.burger) button:last-child {
  margin-top: 6px !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 0 10px 10px !important;
  padding-top: 12px !important;
  color: #ff7b7b !important;
}