/* ===== Hotels & Restaurants Listing Page ===== */

body.restaurants-page {
  background: #f8f8f8;
  padding-top: 0;
  overflow-x: hidden;
}

.hr-logo-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

.hr-logo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hr-logo-bar .ft-brand-logo {
  height: 72px;
}

.hr-auth-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hr-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  color: var(--ft-dark);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ft-transition);
  white-space: nowrap;
}

.hr-auth-btn i {
  font-size: 1.1rem;
}

.hr-auth-btn:hover {
  border-color: var(--ft-accent);
  color: var(--ft-accent);
  background: var(--ft-pink-bg);
}

.hr-auth-btn-signup {
  background: var(--ft-accent);
  border-color: var(--ft-accent);
  color: #fff;
}

.hr-auth-btn-signup:hover {
  background: var(--ft-accent-dark);
  border-color: var(--ft-accent-dark);
  color: #fff;
}

/* Auth modals */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 2rem 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-overlay.show {
  opacity: 1;
  visibility: visible;
}

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: visible;
}

.auth-overlay.show .auth-modal:not([hidden]) {
  transform: translateY(0) scale(1);
}

#signupModal {
  max-width: 440px;
  padding: 1.75rem 2rem 1.5rem;
}

#signupModal .auth-modal-icon {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

#signupModal .auth-modal-title {
  font-size: 1.4rem;
}

#signupModal .auth-modal-sub {
  margin-bottom: 1.25rem;
}

#signupModal .auth-field {
  margin-bottom: 0.85rem;
}

#signupModal .auth-input-wrap input {
  padding: 0.65rem 0;
}

#signupModal .auth-check-block {
  margin-bottom: 1rem;
}

.auth-modal[hidden] {
  display: none;
}

.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--ft-light);
  color: var(--ft-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ft-transition);
}

.auth-close:hover {
  background: var(--ft-pink-bg);
  color: var(--ft-accent);
}

.auth-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.auth-modal-icon-login {
  background: var(--ft-pink-bg);
  color: var(--ft-accent);
}

.auth-modal-icon-signup {
  background: linear-gradient(135deg, #ff6b8a, var(--ft-accent));
  color: #fff;
}

.auth-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.auth-modal-sub {
  color: var(--ft-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.auth-field {
  margin-bottom: 1rem;
}

.auth-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ft-dark);
}

.auth-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  transition: border-color var(--ft-transition), box-shadow var(--ft-transition);
}

.auth-input-wrap:focus-within {
  border-color: var(--ft-accent);
  box-shadow: 0 0 0 3px rgba(239, 79, 95, 0.12);
}

.auth-input-wrap i {
  color: var(--ft-gray);
  font-size: 1rem;
}

.auth-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  background: transparent;
}

.auth-form-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.auth-forgot {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--ft-accent);
  text-decoration: none;
  font-weight: 500;
}
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ft-gray);
  cursor: pointer;
}

.auth-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  accent-color: var(--ft-accent);
}

.auth-check-text {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}

.auth-check-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.auth-check a {
  color: var(--ft-accent);
  text-decoration: none;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  background: var(--ft-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ft-transition);
}

.auth-submit:hover {
  background: var(--ft-accent-dark);
}

.auth-submit-signup {
  background: linear-gradient(135deg, #ff6b8a, var(--ft-accent));
}

.auth-submit-signup:hover {
  background: linear-gradient(135deg, var(--ft-accent), var(--ft-accent-dark));
}

.auth-switch {
  text-align: center;
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--ft-gray);
}

.auth-switch-btn {
  border: none;
  background: none;
  color: var(--ft-accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.auth-switch-btn:hover {
  text-decoration: underline;
}

.auth-success-msg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #24963f;
  animation: authFadeIn 0.3s ease;
}

.auth-success-msg i {
  font-size: 2.5rem;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.hr-auth-link {
  color: var(--ft-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color var(--ft-transition);
  white-space: nowrap;
}

.hr-auth-link:hover {
  color: var(--ft-accent);
}

.hr-auth-signup {
  font-weight: 500;
}

.restaurants-page .ft-navbar {
  background: #fff !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.restaurants-page .ft-navbar .nav-link {
  color: var(--ft-dark);
}

.restaurants-page .navbar-toggler-icon {
  filter: none;
}

/* Page layout */
.hr-page-header {
  padding-top: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.hr-breadcrumb {
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--ft-gray);
  line-height: 1.4;
}

.hr-breadcrumb a {
  color: var(--ft-gray);
  text-decoration: none;
  transition: color var(--ft-transition);
}

.hr-breadcrumb a:hover {
  color: var(--ft-accent);
}

.hr-breadcrumb span {
  margin: 0 0.35rem;
}

/* Search bar */
.hr-search-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  z-index: 100;
}

.hr-search-wrap.is-open .hr-search-bar {
  border-radius: 12px 12px 0 0;
  border-bottom-color: transparent;
  box-shadow: none;
}

.hr-search-bar {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: border-radius var(--ft-transition);
}

.hr-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  max-height: 420px;
  overflow-y: auto;
}

.hr-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hr-search-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--ft-transition);
}

.hr-search-item:last-child {
  border-bottom: none;
}

.hr-search-item:hover {
  background: var(--ft-pink-bg);
}

.hr-search-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

.hr-search-item-body {
  flex: 1;
  min-width: 0;
}

.hr-search-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ft-dark);
  line-height: 1.3;
}

.hr-search-item-name strong {
  font-weight: 700;
  color: var(--ft-accent);
}

.hr-search-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.hr-search-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hr-search-badge i {
  font-size: 0.6rem;
}

.hr-search-badge-dining {
  color: #6b9e78;
}

.hr-search-badge-delivery {
  color: #24963f;
}

.hr-search-badge-muted {
  color: #9e9e9e;
}

.hr-search-badge-sep {
  color: #ccc;
  font-size: 0.75rem;
  font-weight: 300;
}

.hr-search-location {
  font-size: 0.8rem;
  color: var(--ft-gray);
  margin: 0 0 0.2rem;
}

.hr-search-status {
  font-size: 0.78rem;
  color: #b0b0b0;
  margin: 0;
}

.hr-search-status-open {
  color: #6b9e78;
}

.hr-search-empty {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem 1rem;
  color: var(--ft-gray);
  font-size: 0.9rem;
}

.hr-search-empty i {
  font-size: 1.1rem;
  color: #ccc;
}

.hr-location-wrap {
  position: relative;
  flex-shrink: 0;
}

.hr-location-wrap.is-open .hr-location {
  background: var(--ft-pink-bg);
}

.hr-location-wrap.is-open .hr-location-chevron {
  transform: rotate(180deg);
}

.hr-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-right: 1px solid #e8e8e8;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  color: inherit;
  transition: background var(--ft-transition);
  height: 100%;
}

.hr-location-chevron {
  font-size: 0.75rem;
  color: var(--ft-gray);
  transition: transform var(--ft-transition);
}

.hr-category-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 340px;
  max-width: 400px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 110;
  padding: 0.5rem 0 0;
  max-height: 420px;
  overflow-y: auto;
}

.hr-category-dropdown-title {
  margin: 0;
  padding: 0.5rem 1rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ft-gray);
  border-bottom: 1px solid #f0f0f0;
}

.hr-collection-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.hr-collection-list-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: background var(--ft-transition);
}

.hr-collection-list-item:hover,
.hr-collection-list-item.is-active {
  background: var(--ft-pink-bg);
}

.hr-collection-list-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

.hr-collection-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hr-collection-list-body strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ft-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-collection-list-body span {
  font-size: 0.8rem;
  color: var(--ft-gray);
}

.hr-collection-list-arrow {
  color: #ccc;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hr-collection-list-item:hover .hr-collection-list-arrow {
  color: var(--ft-accent);
}

.hr-category-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid #f0f0f0;
  color: var(--ft-accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--ft-transition);
}

.hr-category-footer-link:hover {
  background: var(--ft-pink-bg);
  color: var(--ft-accent-dark);
}

.hr-location:hover {
  background: var(--ft-pink-bg);
}

.hr-location i.bi-geo-alt-fill {
  color: var(--ft-accent);
}

.hr-location .bi-chevron-down {
  font-size: 0.75rem;
  color: var(--ft-gray);
}

.hr-search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
}

.hr-search-input i {
  color: var(--ft-gray);
}

.hr-search-input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  padding: 0.85rem 0;
  background: transparent;
}

.hr-search-input input::placeholder {
  color: #aaa;
}

/* Collections */
.hr-collections {
  padding: 1.5rem 0 1rem;
  margin-top: 0;
}

.hr-collections-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hr-collections-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hr-collections-header p {
  color: var(--ft-gray);
  font-size: 0.95rem;
  margin: 0;
  max-width: 520px;
}

.hr-see-all {
  color: var(--ft-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--ft-transition);
}

.hr-see-all:hover {
  color: var(--ft-accent-dark);
}

.hr-carousel-wrap {
  position: relative;
}

.hr-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0 1rem;
}

.hr-carousel-track::-webkit-scrollbar {
  display: none;
}

.hr-collection-card {
  flex: 0 0 280px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--ft-transition), box-shadow var(--ft-transition);
}

.hr-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.hr-collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hr-collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
}

.hr-collection-overlay h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hr-collection-overlay span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.hr-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--ft-transition);
  color: var(--ft-dark);
}

.hr-carousel-btn:hover {
  background: var(--ft-accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(239, 79, 95, 0.35);
}

.hr-carousel-btn.prev {
  left: 8px;
}

.hr-carousel-btn.next {
  right: 8px;
}

.hr-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Filters */
.hr-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.25rem 0;
  position: relative;
}

.hr-filters-scroll {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hr-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ft-dark);
  cursor: pointer;
  transition: all var(--ft-transition);
  white-space: nowrap;
}

.hr-filter-btn:hover {
  border-color: var(--ft-accent);
  color: var(--ft-accent);
}

.hr-filter-btn.active {
  background: var(--ft-pink-bg);
  border-color: var(--ft-accent);
  color: var(--ft-accent);
}

.hr-filter-veg i,
.hr-filter-nov i {
  font-size: 0.55rem;
}

.hr-filter-veg i {
  color: #24963f;
}

.hr-filter-nov i {
  color: #c54545;
}

.hr-filter-veg.active {
  background: #edf7ef;
  border-color: #24963f;
  color: #24963f;
}

.hr-filter-nov.active {
  background: #fff0f0;
  border-color: #c54545;
  color: #c54545;
}

.hr-filter-menu-btn {
  gap: 0.35rem;
}

.hr-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--ft-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}

/* Filter Modal */
body.hr-filter-modal-open {
  overflow: hidden;
}

.hr-filter-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.hr-filter-modal-overlay[hidden] {
  display: none !important;
}

.hr-filter-modal {
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(560px, calc(100vh - 3rem));
  max-height: min(560px, calc(100dvh - 3rem));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.hr-filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #ebebeb;
}

.hr-filter-modal-header h2 {
  margin: 0;
  font-family: var(--ft-font-heading, 'Poppins', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ft-dark);
}

.hr-filter-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ft-gray);
  cursor: pointer;
  transition: background var(--ft-transition), color var(--ft-transition);
}

.hr-filter-modal-close:hover {
  background: #f3f3f3;
  color: var(--ft-dark);
}

.hr-filter-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.hr-filter-sidebar {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  background: #f8f8f8;
  border-right: 1px solid #ebebeb;
  overflow-y: auto;
}

.hr-filter-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  padding: 1rem 1.1rem 1rem 1.25rem;
  border: none;
  border-bottom: 1px solid #efefef;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background var(--ft-transition);
}

.hr-filter-nav-item:hover {
  background: #f0f0f0;
}

.hr-filter-nav-item.is-active {
  background: #fff;
}

.hr-filter-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ft-accent);
}

.hr-filter-nav-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ft-dark);
}

.hr-filter-nav-label-short {
  display: none;
}

.hr-filter-nav-value {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ft-accent);
  line-height: 1.3;
}

.hr-filter-mobile-context {
  display: none;
}

.hr-filter-panels {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.hr-filter-panel-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ft-gray);
}

.hr-filter-panel-value {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ft-dark);
}

.hr-filter-radio-list,
.hr-filter-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hr-filter-radio-list li + li,
.hr-filter-check-list li + li {
  margin-top: 0.15rem;
}

.hr-filter-radio,
.hr-filter-check {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ft-dark);
}

.hr-filter-radio input,
.hr-filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hr-filter-radio-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  transition: border-color var(--ft-transition);
}

.hr-filter-radio input:checked + .hr-filter-radio-mark {
  border-color: var(--ft-accent);
  box-shadow: inset 0 0 0 4px var(--ft-accent);
}

.hr-filter-check-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #c8c8c8;
  border-radius: 4px;
  transition: background var(--ft-transition), border-color var(--ft-transition);
}

.hr-filter-check input:checked + .hr-filter-check-mark {
  border-color: var(--ft-accent);
  background: var(--ft-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M12.2 4.2 6.8 10.2 3.8 7.2l-1.4 1.4 4.4 4.4 6.8-7.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.hr-filter-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.hr-filter-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.hr-filter-search-wrap .bi-search {
  position: absolute;
  left: 0.85rem;
  color: var(--ft-gray);
  font-size: 0.9rem;
  pointer-events: none;
}

.hr-filter-search {
  width: 100%;
  padding: 0.65rem 2.25rem 0.65rem 2.35rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ft-dark);
  outline: none;
  transition: border-color var(--ft-transition);
}

.hr-filter-search:focus {
  border-color: var(--ft-accent);
}

.hr-filter-search-clear {
  position: absolute;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ft-gray);
  cursor: pointer;
}

.hr-filter-search-clear:hover {
  background: #f0f0f0;
}

.hr-rating-slider {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  position: relative;
  padding: 0.75rem 0 0;
  margin-top: 0.5rem;
}

.hr-rating-slider::before {
  content: '';
  position: absolute;
  top: calc(0.75rem + 10px);
  left: 10%;
  right: 10%;
  height: 3px;
  transform: translateY(-50%);
  background: #1c1c1c;
  border-radius: 2px;
  z-index: 0;
}

.hr-rating-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 100%;
  gap: 0.75rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hr-rating-step-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1c1c1c;
  box-sizing: border-box;
  transition: transform var(--ft-transition), background var(--ft-transition);
}

.hr-rating-step.is-active .hr-rating-step-dot {
  transform: scale(1.2);
  background: #1c1c1c;
}

.hr-rating-step-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ft-dark);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.hr-cost-slider-wrap {
  padding-top: 0.5rem;
}

.hr-cost-slider-track {
  position: relative;
  height: 28px;
  margin-top: 2rem;
}

.hr-cost-slider-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: #e0e0e0;
  border-radius: 2px;
}

.hr-cost-slider-fill {
  position: absolute;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: var(--ft-accent);
  border-radius: 2px;
  pointer-events: none;
}

.hr-cost-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.hr-cost-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ft-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.hr-cost-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ft-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.hr-cost-range::-webkit-slider-runnable-track {
  background: transparent;
}

.hr-cost-range::-moz-range-track {
  background: transparent;
}

.hr-filter-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-top: 1px solid #ebebeb;
}

.hr-filter-clear-btn {
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ft-gray);
  cursor: pointer;
  transition: color var(--ft-transition);
}

.hr-filter-clear-btn:hover {
  color: var(--ft-dark);
}

.hr-filter-apply-btn {
  padding: 0.65rem 1.75rem;
  border: none;
  border-radius: 8px;
  background: var(--ft-accent);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background var(--ft-transition);
}

.hr-filter-apply-btn:hover {
  background: var(--ft-accent-dark);
}

/* Promo banner */
.hr-promo {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  margin-bottom: 2rem;
  background: #1c1c1c;
}

.hr-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

.hr-promo-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  color: #fff;
}

.hr-promo-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hr-promo-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.hr-promo-btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--ft-accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--ft-transition);
}

.hr-promo-btn:hover {
  background: var(--ft-accent-dark);
  color: #fff;
}

/* Restaurant list */
.hr-listing-header {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hr-restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.hr-restaurant-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--ft-transition), box-shadow var(--ft-transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.hr-restaurant-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.hr-restaurant-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.hr-restaurant-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hr-restaurant-card:hover .hr-restaurant-img img {
  transform: scale(1.05);
}

.hr-badge-promoted {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(28, 28, 28, 0.65);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hr-badge-offer {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: #1c1c1c;
  line-height: 1.2;
  max-width: calc(100% - 1.5rem);
}

.hr-offer-stack {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  pointer-events: none;
  z-index: 2;
}

.hr-offer-stack .hr-badge-offer {
  position: static;
  max-width: 100%;
}

.hr-offer-primary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.hr-offer-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(238, 90, 36, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hr-offer-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.32rem 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  color: #256fef;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.hr-offer-explore i {
  font-size: 0.65rem;
  transition: transform var(--ft-transition);
}

.hr-restaurant-card:hover .hr-offer-explore i {
  transform: translateX(2px);
}

.hr-offer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2.1rem;
  padding: 0.42rem 0.5rem;
  background: linear-gradient(135deg, #256fef, #1a56d6);
  color: #fff;
  font-size: 0.9rem;
  position: relative;
}

.hr-offer-icon::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 68%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.45) 0,
    rgba(255, 255, 255, 0.45) 3px,
    transparent 3px,
    transparent 6px
  );
}

.hr-offer-text {
  display: flex;
  align-items: center;
  padding: 0.42rem 0.65rem 0.42rem 0.55rem;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-restaurant-body {
  padding: 0.85rem 1rem 1rem;
}

.hr-restaurant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hr-restaurant-row:last-child {
  margin-bottom: 0;
}

.hr-restaurant-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: #24963f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.hr-rating.new {
  background: #256fef;
}

.hr-restaurant-meta {
  font-size: 0.85rem;
  color: var(--ft-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ft-gray);
}

.hr-empty-state i {
  font-size: 2.5rem;
  color: #ddd;
  display: block;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hr-restaurant-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hr-collection-card {
    flex: 0 0 240px;
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  body.restaurants-page {
    padding-top: 0;
  }

  .hr-logo-bar .ft-brand-logo {
    height: 56px;
  }

  .hr-auth-links {
    gap: 0.5rem;
  }

  .hr-auth-btn span {
    display: none;
  }

  .hr-auth-btn {
    padding: 0.55rem 0.65rem;
  }

  .auth-modal {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 16px;
    margin: 1rem auto;
  }

  .auth-overlay {
    padding: 1rem 0.75rem;
  }

  #signupModal {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  #signupModal .auth-field {
    margin-bottom: 0.75rem;
  }

  .auth-modal-title {
    font-size: 1.3rem;
  }

  .auth-form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .auth-forgot {
    align-self: flex-end;
  }

  .hr-page-header {
    padding-top: 0.5rem;
  }

  .hr-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .hr-search-bar {
    flex-direction: column;
  }

  .hr-search-wrap.is-open .hr-search-bar {
    border-radius: 12px 12px 0 0;
  }

  .hr-search-dropdown {
    max-height: 60vh;
  }

  .hr-search-item {
    padding: 0.75rem 0.85rem;
  }

  .hr-location {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
    justify-content: flex-start;
  }

  .hr-location-wrap {
    width: 100%;
  }

  .hr-category-dropdown {
    left: 0;
    right: 0;
    min-width: 0;
    max-width: none;
    width: 100%;
    max-height: 55vh;
  }

  .hr-collections-header {
    flex-direction: column;
  }

  .hr-restaurant-grid {
    grid-template-columns: 1fr;
  }

  .hr-filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
  }

  .hr-filters-scroll {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
  }

  .hr-filters-scroll::-webkit-scrollbar {
    display: none;
  }

  .hr-filter-modal-overlay {
    padding: 0;
    align-items: flex-end;
    justify-content: stretch;
  }

  .hr-filter-modal {
    width: 100%;
    max-width: 100vw;
    max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
    margin: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  }

  .hr-filter-modal-header {
    flex-shrink: 0;
    padding: 1rem 1.25rem;
  }

  .hr-filter-modal-body {
    flex: 1;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .hr-filter-sidebar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    align-items: stretch;
    overflow: hidden;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
  }

  .hr-filter-nav-item {
    flex-shrink: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
    border-right: none;
    padding: 0.8rem 0.25rem;
    text-align: center;
    background: #fff;
  }

  .hr-filter-nav-item:last-child {
    border-right: none;
  }

  .hr-filter-nav-item.is-active {
    background: #fff;
  }

  .hr-filter-nav-item.is-active::before {
    display: none;
  }

  .hr-filter-nav-label {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
  }

  .hr-filter-nav-label-full {
    display: none;
  }

  .hr-filter-nav-label-short {
    display: inline;
  }

  .hr-filter-nav-item.is-active .hr-filter-nav-label {
    color: var(--ft-accent);
    font-weight: 600;
  }

  .hr-filter-nav-value {
    display: none;
  }

  .hr-filter-mobile-context {
    display: block;
    flex-shrink: 0;
    width: 100%;
    padding: 0.85rem 1.25rem 0;
    background: #fff;
    border-bottom: 3px solid var(--ft-accent);
  }

  .hr-filter-mobile-context-label {
    margin: 0 0 0.2rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ft-dark);
    line-height: 1.3;
  }

  .hr-filter-mobile-context-value {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ft-accent);
    line-height: 1.3;
  }

  .hr-filter-panels {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 1.25rem 1.25rem;
  }

  .hr-filter-panel-label,
  .hr-filter-panel-value {
    display: none;
  }

  .hr-filter-panel-value {
    margin-bottom: 1.25rem;
  }

  .hr-filter-radio,
  .hr-filter-check {
    padding: 0.7rem 0;
  }

  .hr-filter-check-grid {
    grid-template-columns: 1fr;
  }

  .hr-rating-slider {
    padding-left: 0;
    padding-right: 0;
  }

  .hr-filter-modal-footer {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
  }

  .hr-filter-apply-btn {
    flex: 1;
    max-width: 160px;
    text-align: center;
  }
}

/* ===== Collection Detail Page ===== */
.collection-page {
  padding-top: 0;
}

.hc-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  margin: 1.25rem 0 2rem;
  background: #1c1c1c;
}

.hc-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.15) 100%);
}

.hc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 2.5rem;
  color: #fff;
}

.hc-hero-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.hc-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hc-hero-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 1rem;
}

.hc-hero-count {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.hc-hero-actions {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: rgba(28, 28, 28, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--ft-transition);
}

.hc-action-btn:hover {
  background: rgba(28, 28, 28, 0.9);
}

.hc-action-btn.saved {
  background: var(--ft-accent);
  border-color: var(--ft-accent);
}

.hc-action-icon {
  padding: 0.55rem 0.7rem;
}

.hr-collection-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media (max-width: 767.98px) {
  .collection-page {
    padding-top: 0;
  }

  .hc-hero {
    min-height: 320px;
  }

  .hc-hero-content {
    padding: 1.75rem;
    padding-top: 4rem;
  }

  .hc-hero-actions {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    justify-content: flex-end;
  }
}
