/* =========================================
   DESIGN TOKENS & BASE
   Primary: #B3123F (red)
   Accent light: #fff0f1 / #ffd6da
   Text dark: #111827
   Text muted: #6b7280
   Background: #fbfcfd
   Card: #ffffff
========================================= */

:root {
  --color-primary:       #B3123F;
  --color-primary-dark:  #b91c2c;
  --color-primary-light: #ff4757;
  --color-accent-bg:     #fff0f1;
  --color-accent-border: #ffd6da;
  --color-text-dark:     #111827;
  --color-text-body:     #1f2937;
  --color-text-muted:    #6b7280;
  --color-bg:            #fbfcfd;
  --color-card:          #ffffff;
  --color-border:        rgba(228, 230, 235, 0.8);
  --radius-card:         20px;
  --radius-btn:          14px;
  --radius-pill:         999px;
  --shadow-card:         0 4px 20px rgba(0,0,0,0.03), 0 1px 4px rgba(0,0,0,0.02);
  --shadow-card-hover:   0 20px 48px rgba(179,18,63,0.08), 0 6px 16px rgba(0,0,0,0.04);
  --transition-smooth:   all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --section-gap:         36px;
  --section-gap-sm:      24px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 100% 0%, rgba(179,18,63,0.03) 0%, transparent 40%),
                    radial-gradient(circle at 0% 100%, rgba(179,18,63,0.02) 0%, transparent 40%);
  background-attachment: fixed;
  padding-top: 80px;
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* =========================================
   NAVBAR
========================================= */
.custom-navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 24px;
  border-radius: 999px;
  width: 86%;
  max-width: 1200px;
  z-index: 9999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
}

.logo {
  height: 28px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: #B3123F;
}

/* Navbar hamburger (mobile) */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #374151;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.navbar-toggler:hover {
  background: #f3f4f6;
}

@media (max-width: 768px) {
  .custom-navbar {
    width: 93%;
    padding: 8px 16px;
    border-radius: 20px;
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    margin-left: auto;
    margin-right: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 10;
    padding: 12px 0 4px;
    gap: 4px;
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    width: 100%;
    font-size: 14.5px;
  }

  .nav-links a:hover {
    background: #fff5f6;
  }

  /* Right-side auth / guest buttons on mobile */
  .custom-navbar .btn-danger,
  .custom-navbar .d-flex.align-items-center.gap-3 {
    order: 2;
    margin-left: 12px;
  }
}

/* =========================================
   HERO
========================================= */
.hero {
  height: 700px;
  background: url('/images/hero_bg.png') center/cover no-repeat;
  position: relative;
  margin-top: -80px;
  display: flex;
  align-items: center;
  z-index: 10;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.38) 100%);
}

.hero-content {
  position: relative;
  color: white;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.8px;
  font-size: 2.6rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.hero p {
  font-size: 15px;
  opacity: 0.85;
  margin-top: 6px;
}

/* =========================================
   SEARCH BOX (HERO)
========================================= */
.search-box-wrapper {
  position: relative;
  width: 100%;
}

.search-box {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.search-box input {
  padding: 15px 24px;
  width: 400px;
  border-radius: 30px 0 0 30px;
  border: none;
  font-size: 14px;
  outline: none;
  color: #1f2937;
  font-family: 'Inter', sans-serif;
}

.search-box input::placeholder {
  color: #9ca3af;
}

.search-box button {
  background: #B3123F;
  color: white;
  border: none;
  padding: 15px 24px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 16px;
}

.search-box button:hover {
  background: #b91c2c;
}

/* Search history dropdown */
.search-history-dropdown {
  position: absolute;
  top: 62px;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  z-index: 999;
  overflow: hidden;
  text-align: left;
}

.search-history-item {
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 0.15s;
  font-size: 14px;
  color: #374151;
}

.search-history-item:hover {
  background: #fff5f6;
}

.search-history-item i {
  color: #B3123F;
  width: 14px;
}

/* =========================================
   HERO FILTERS
========================================= */
.hero-filters {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-filters select {
  height: 50px;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  min-width: 185px;
  outline: none;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.hero-filters button {
  height: 50px;
  border: none;
  border-radius: 14px;
  padding: 0 30px;
  background: #B3123F;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(179, 18, 63, 0.32);
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.hero-filters button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(179, 18, 63, 0.42);
  background: #b91c2c;
}

@media (max-width: 768px) {
  .hero-filters {
    flex-direction: column;
    padding: 0 20px;
  }

  .hero-filters select,
  .hero-filters button {
    width: 100%;
  }
}

/* =========================================
   SECTION TITLE & SHARED
========================================= */
.section-title {
  font-weight: 800;
  color: var(--color-text-dark);
  font-size: 19px;
  margin-bottom: 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 13.5px;
  margin-top: 4px;
  line-height: 1.5;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.text-muted {
  color: #9ca3af !important;
  font-size: 13.5px;
}

/* Unified section gap */
.section-gap {
  margin-top: var(--section-gap);
}
.section-gap-sm {
  margin-top: var(--section-gap-sm);
}

/* =========================================
   QUICK CATEGORY PILLS
========================================= */
.quick-category-wrap {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  padding: 4px 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.quick-category-wrap::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.quick-pill {
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13.5px;
  color: #4b5563;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-pill:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff5f6;
  box-shadow: 0 8px 20px rgba(179, 18, 63, 0.12);
}

/* =========================================
   POPULAR / TRENDING HORIZONTAL SCROLL
========================================= */
.trending-section {
  padding-bottom: 4px;
}

.trending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.trending-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trending-fire {
  font-size: 22px;
  line-height: 1;
  animation: firePulse 2s ease-in-out infinite;
}

@keyframes firePulse {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50%       { transform: scale(1.15) rotate(4deg); }
}

.trending-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
  padding: 5px 16px;
  text-decoration: none;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
}

.trending-see-all i {
  font-size: 11px;
  transition: transform 0.22s ease;
}

.trending-see-all:hover {
  background: var(--color-primary);
  color: #fff;
}

.trending-see-all:hover i {
  transform: translateX(3px);
}

/* =========================================
   SCROLL OUTER — fade edge container
========================================= */
.scroll-outer {
  position: relative;
  overflow: hidden;
}

/* Right fade */
.scroll-outer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, #fff 10%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Left fade — hidden until scrolled */
.scroll-outer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to right, #fff 10%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scroll-outer.show-left-fade::before {
  opacity: 1;
}

.scroll-outer.at-end::after {
  opacity: 0;
}

/* =========================================
   SCROLL ARROW BUTTONS (inside fade zone)
========================================= */
.scroll-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 30, 30, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.scroll-outer:hover .scroll-arrow-btn {
  opacity: 1;
  pointer-events: auto;
}

.scroll-arrow-btn:hover {
  background: rgba(179, 18, 63, 0.9);
  transform: translateY(-50%) scale(1.08);
}

.scroll-arrow-left {
  left: 10px;
}

.scroll-arrow-right {
  right: 10px;
}

.scroll-arrow-btn.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.popular-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  /* hide native scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.popular-scroll::-webkit-scrollbar {
  display: none;
}

.popular-list-inner {
  display: flex;
  gap: 16px;
  min-width: max-content;
  padding: 4px 12px;
}

.popular-list-inner .col-md-3 {
  flex: 0 0 auto;
  width: 276px;
}

/* =========================================
   SCROLL PROGRESS BAR
========================================= */
.scroll-progress-bar {
  margin-top: 14px;
  height: 3px;
  background: #f0f0f0;
  border-radius: 99px;
  overflow: hidden;
}

.scroll-progress-thumb {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, #B3123F, #ff6b6b);
  border-radius: 99px;
  transition: width 0.15s ease;
}


/* =========================================
   KECAMATAN GRID
========================================= */
.kecamatan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 992px) {
  .kecamatan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .kecamatan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kecamatan-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 24px 14px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  border: 1.5px solid #f1f3f5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kecamatan-card::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f3c5";
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  color: var(--color-primary);
  margin-bottom: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(179, 18, 63, 0.06);
  flex-shrink: 0;
}

.kecamatan-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-card-hover);
}

.kecamatan-card:hover::before {
  transform: scale(1.12);
  background: var(--color-primary);
  color: white;
  box-shadow: 0 8px 18px rgba(179, 18, 63, 0.25);
}

.kecamatan-card h6 {
  margin: 0;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-text-dark);
  line-height: 1.3;
}

/* =========================================
   AI CHATBOT — Pink-White Gradient Style
========================================= */
.ai-box {
  background: linear-gradient(135deg, #fff0f4 0%, #ffffff 50%, #fdf2f4 100%);
  padding: 36px;
  border-radius: 28px;
  border: 1.5px solid #ffd6da;
  box-shadow: 0 8px 32px rgba(179, 18, 63, 0.06);
  position: relative;
  overflow: hidden;
}

/* decorative blob */
.ai-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(179, 18, 63, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ai-box::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(179, 18, 63, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ai-logo {
  height: 38px;
}

/* Chat bubble area */
.chat-box {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(179, 18, 63, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.chat-box::-webkit-scrollbar {
  width: 4px;
}

.chat-box::-webkit-scrollbar-thumb {
  background: #fca5a5;
  border-radius: 10px;
}

/* User message bubble */
.user-msg {
  background: #B3123F;
  color: white;
  padding: 11px 16px;
  border-radius: 20px 20px 5px 20px;
  width: fit-content;
  margin-bottom: 12px;
  margin-left: auto;
  font-size: 14px;
  max-width: 80%;
  box-shadow: 0 4px 14px rgba(179, 18, 63, 0.25);
  line-height: 1.5;
}

/* Bot message bubble */
.bot-msg {
  background: white;
  padding: 11px 16px;
  border-radius: 5px 20px 20px 20px;
  width: fit-content;
  font-size: 14px;
  max-width: 80%;
  color: #374151;
  border: 1px solid #fde8ea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.5;
  margin-bottom: 12px;
}

.chat-box .card {
  margin-bottom: 10px;
}

/* Chat input area */
.ai-input-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.ai-input-row .form-control {
  border: 1.5px solid #ffd6da;
  background: white;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-input-row .form-control:focus {
  border-color: #B3123F;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.08);
  outline: none;
}

.ai-input-row .form-control::placeholder {
  color: #c4b0b3;
}

/* =========================================
   RECENT VIEWED
========================================= */
#recent-section {
  display: block;
}

#recent-viewed-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

#recent-viewed-list::-webkit-scrollbar {
  display: none;
}

.recent-card {
  min-width: 272px;
  max-width: 272px;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #f3f4f6;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #ffd6da;
}

.recent-card img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.recent-info {
  flex: 1;
  min-width: 0;
}

.recent-info h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-info small {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-info span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #B3123F;
  font-weight: 600;
}

.recent-card button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-card button:hover {
  background: #B3123F;
  color: #fff;
}

/* =========================================
   SEARCH HISTORY PILLS (homepage)
========================================= */
#history-section {
  display: none;
}

.history-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid #ffd6da;
  color: #374151;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.history-pill:hover {
  background: #fff0f1;
  border-color: #B3123F;
  color: #B3123F;
}

.history-pill .del-btn {
  background: none;
  border: none;
  padding: 0;
  color: #d1d5db;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: 0.15s;
}

.history-pill .del-btn:hover {
  color: #B3123F;
}

.history-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* =========================================
   NAVBAR — PROFILE & WISHLIST BUTTON
========================================= */
.navbar-wishlist-btn {
  position: relative;
  background: #fff0f1;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #B3123F;
  cursor: pointer;
  transition: all 0.2s ease;
}

.navbar-wishlist-btn:hover {
  background: #ffd6da;
  transform: scale(1.1);
}

.navbar-wishlist-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #B3123F;
  color: white;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
}

.navbar-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  font-family: 'Inter', sans-serif;
}

.navbar-profile-btn:hover {
  background: #f5f5f5;
}

.navbar-profile-btn::after {
  display: none;
}

.navbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd6da;
}

.navbar-avatar-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B3123F, #e05260);
  color: white;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar-username {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dropdown menu styling */
.dropdown-menu {
  border: 1px solid #f0f0f0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: 16px !important;
  padding: 8px;
  margin-top: 6px;
}

.dropdown-item {
  border-radius: 10px;
  font-size: 14px;
  padding: 9px 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: #fff5f6;
}

.dropdown-divider {
  margin: 4px 0;
  border-color: #f3f4f6;
}

/* =========================================
   WISHLIST FLOATING / MODAL
========================================= */
.wishlist-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #B3123F;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(179, 18, 63, 0.35);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.wishlist-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(179, 18, 63, 0.45);
  background: #b91c2c;
}

.wishlist-fab .badge-count {
  background: white;
  color: #B3123F;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
}

/* Wishlist modal items */
.wishlist-empty {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
}

.wishlist-empty i {
  font-size: 44px;
  margin-bottom: 12px;
  display: block;
  color: #fca5a5;
}

.wishlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.wishlist-item:last-child {
  border-bottom: none;
}

.wishlist-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.wishlist-item-info {
  flex: 1;
  min-width: 0;
}

.wishlist-item-info h6 {
  font-weight: 700;
  margin: 0 0 2px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
}

.wishlist-item-info small {
  color: #9ca3af;
  font-size: 12px;
}

.wishlist-item-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* =========================================
   WISHLIST PAGE SPECIFIC
========================================= */
.wishlist-total-badge {
  background: #fff0f1;
  color: #B3123F;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

/* =========================================
   SEARCH PAGE
========================================= */
.search-header {
  margin-top: 30px;
}

#search-title {
  font-weight: 700;
  color: #B3123F;
}

#search-input {
  border-radius: 30px;
  padding: 12px 20px;
  border: 1.5px solid #e5e7eb;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search-input:focus {
  border-color: #B3123F;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.08);
  outline: none;
}

#search-results {
  margin-top: 10px;
}

#empty-state {
  margin-top: 50px;
}

/* =========================================
   CARD (legacy)
========================================= */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10) !important;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: var(--color-card);
  padding: 56px 0 28px;
  border-top: 1px solid #f0f0f0;
  margin-top: var(--section-gap);
}

.footer h6 {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin-bottom: 16px;
}

.footer p {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.9;
  margin-bottom: 2px;
}

.footer a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #B3123F !important;
}

.footer .logo {
  height: 26px;
  margin-bottom: 14px;
  display: block;
}

.footer-copy {
  font-size: 12.5px;
  color: #c4c9d4;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
  margin-top: 12px;
}

/* =========================================
   MODERN CARD REDESIGN
========================================= */
.custom-card {
  border-radius: var(--radius-card);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
}

.custom-card:hover {
  transform: translateY(-8px) scale(1.005);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent-border);
}

/* Card image */
.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background-color: #f3f4f6;
}

.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

/* Wishlist / delete button on card */
.btn-wishlist-custom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: #d1d5db;
  font-size: 14px;
  padding: 0;
}

.btn-wishlist-custom:hover {
  transform: scale(1.1);
  background: #fff;
  color: #B3123F;
  box-shadow: 0 4px 16px rgba(179, 18, 63, 0.15);
}

.btn-wishlist-custom.active {
  color: #B3123F;
  background: #fff;
}

.btn-wishlist-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  padding: 0;
}

.btn-wishlist-delete:hover {
  transform: scale(1.1);
  background: #B3123F;
  border-color: #B3123F;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(179, 18, 63, 0.25);
}

/* Card body */
.card-body-custom {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0;
}

.card-title-custom {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.card-category-custom {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-location-custom {
  font-size: 12.5px;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-location-custom i {
  color: var(--color-primary);
  font-size: 11px;
  opacity: 0.7;
}

/* Price & rating row */
.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* Price badges */
.price-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 50px;
  display: inline-block;
  border: none !important;
}

.price-badge-success {
  background-color: #ecfdf5 !important;
  color: #059669 !important;
}

.price-badge-primary {
  background-color: #eff6ff !important;
  color: #2563eb !important;
}

.price-badge-warning {
  background-color: #fffbef !important;
  color: #d97706 !important;
}

.price-badge-secondary {
  background-color: #f3f4f6 !important;
  color: #6b7280 !important;
}

.price-badge-unknown {
  background-color: #f9fafb !important;
  color: #9ca3af !important;
  font-style: italic;
  font-weight: 600 !important;
  font-size: 10.5px !important;
}

/* Rating badge */
.rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.rating-badge i {
  color: #f59e0b;
  font-size: 12px;
}

.rating-count {
  font-weight: 400;
  color: #9ca3af;
  font-size: 12px;
}

/* Card action buttons */
.card-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.btn-card {
  flex: 1;
  padding: 9px 10px;
  border-radius: var(--radius-btn);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.btn-card-outline {
  border: 1.5px solid #e5e7eb;
  background: transparent;
  color: #4b5563;
}

.btn-card-outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #1f2937;
  transform: translateY(-1px);
}

.btn-card-filled {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(179, 18, 63, 0.22);
}

.btn-card-filled:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(179, 18, 63, 0.32);
  transform: translateY(-1px);
}

/* Card badge (kuesioner) */
.card-badge-kuesioner {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 5;
}

/* =========================================
   WISHLIST BUTTON ON CARD (legacy)
========================================= */
.btn-wishlist {
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  padding: 0;
}

.btn-wishlist:hover {
  transform: scale(1.15);
}

/* =========================================
   CATEGORY (if used)
========================================= */
.category-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
}

.cat-item {
  text-align: center;
  cursor: pointer;
}

.cat-item img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.cat-item span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

/* =========================================
   UTILITY / MISC
========================================= */
.btn-outline-secondary {
  border-color: #e5e7eb !important;
  color: #4b5563 !important;
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
  color: #1f2937 !important;
}

/* Spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Bootstrap dropdown polish */
.dropdown-menu.show {
  animation: fadeInDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================
   SEARCH / DAFTAR KULINER — Hero & Filters
   (consolidated from inline styles)
========================================= */

/* Hero Banner Search Page */
.search-hero-banner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 150px;
  padding-bottom: 65px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

/* Page-specific hero backgrounds */
.search-hero-banner.search-hero-cari {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('/images/hero_cari.jpg') center/cover no-repeat;
}

.search-hero-banner.search-hero-daftar {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('/images/hero_daftar.jpg') center/cover no-repeat;
}

.search-hero-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(179, 18, 63, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.search-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(179, 18, 63, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Glassmorphism Search Panel */
.search-panel-card {
  background: #ffffff;
  border: 1px solid rgba(255, 180, 185, 0.35);
  box-shadow: 0 20px 40px rgba(179, 18, 63, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 30px;
  overflow: visible;
}

/* Search input wrapper & icon */
.search-input-wrapper {
  position: relative;
}

.search-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #B3123F;
  font-size: 15px;
  pointer-events: none;
  z-index: 5;
}

/* Search page overrides for input, filters, button */
.search-hero-banner #search-input {
  padding-left: 48px !important;
  height: 52px;
  border-radius: 16px !important;
  border: 1.5px solid #ffd6da !important;
  font-size: 14.5px;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.search-hero-banner #search-input:focus {
  border-color: #B3123F !important;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.12) !important;
  background-color: #fff;
}

/* Search page select wrapper & icon (mirrors landing) */
.search-select-wrapper {
  position: relative;
  width: 100%;
}

.search-select-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
  z-index: 5;
}

.search-select-field {
  padding-left: 42px !important;
}

/* ── Search Page Filter Buttons (Bootstrap Dropdown) ── */
#filter-kecamatan,
#sort-options,
#filter-category,
#filter-price {
  height: 52px;
  border-radius: 16px !important;
  border: 1.5px solid #ffd6da !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #374151;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
  /* Replace default form-select chevron with a custom one */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding-right: 38px !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#filter-kecamatan:focus,
#sort-options:focus,
#filter-category:focus,
#filter-price:focus,
#filter-kecamatan[aria-expanded="true"],
#sort-options[aria-expanded="true"],
#filter-category[aria-expanded="true"],
#filter-price[aria-expanded="true"] {
  border-color: #B3123F !important;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.12) !important;
  outline: none;
}

#btn-search {
  height: 52px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14.5px;
  background: linear-gradient(135deg, #B3123F 0%, #c0392b 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(179, 18, 63, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
  color: white;
}

#btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(179, 18, 63, 0.35);
  background: linear-gradient(135deg, #e04353 0%, #cf4435 100%);
}

#btn-search:active {
  transform: translateY(0);
}

/* Filter section dividers */
.filter-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}

/* Results header */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 16px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 20px;
}

.results-header h4 {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.results-header h4 span {
  color: #B3123F;
}

.result-count-badge {
  background: #fff5f6;
  color: #B3123F;
  border: 1px solid #ffd6da;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

/* Active filter pills summary bar */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #fff9f9;
  border: 1px solid #ffeaec;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #B3123F;
  color: white;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.active-filter-tag button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
  font-size: 10px;
  cursor: pointer;
  line-height: 1;
  margin-left: 2px;
  transition: color 0.15s;
}

.active-filter-tag button:hover {
  color: white;
}

/* Quick search chips below input */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.quick-chip {
  background: white;
  border: 1px solid #f3e0e3;
  color: #6b7280;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.quick-chip:hover {
  background: #fff0f1;
  border-color: #B3123F;
  color: #B3123F;
}

/* Shimmer fix */
.skeleton-card {
  min-height: 280px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  height: 100%;
}

/* Empty state improvements */
#empty-state .empty-icon {
  font-size: 72px;
  animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-8deg);
  }

  75% {
    transform: rotate(8deg);
  }
}

/* Custom interactive Filter Pills */
.filter-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.filter-pill-btn {
  border: 1.5px solid #ebebeb;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  color: #4b5563;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-pill-btn:hover {
  border-color: #B3123F;
  color: #B3123F;
  background: #fff5f6;
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: #B3123F;
  border-color: #B3123F;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(179, 18, 63, 0.25);
}

/* Trend Rank Badges */
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: white;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 4px;
}

.rank-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.rank-silver {
  background: linear-gradient(135deg, #9ca3af 0%, #4b5563 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.rank-bronze {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.rank-trending {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Skeleton Shimmer Loaders */
.skeleton-shimmer {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: placeholderShimmer 1.4s linear infinite forwards;
}

@keyframes placeholderShimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.skeleton-img {
  height: 160px;
  width: 100%;
}

.skeleton-body {
  padding: 16px;
}

.skeleton-title {
  height: 16px;
  width: 70%;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-text {
  height: 12px;
  width: 45%;
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-meta {
  height: 18px;
  width: 90%;
  border-radius: 4px;
}

/* =========================================
   INDEX — Landing Search Panel
   (consolidated from inline <style>)
========================================= */
.search-panel-card-landing {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  padding: 28px;
  border: 1.5px solid rgba(179, 18, 63, 0.08);
  box-shadow: 0 20px 48px rgba(179, 18, 63, 0.04), 0 4px 12px rgba(0, 0, 0, 0.01);
  max-width: 950px;
  margin: 35px auto 0;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: visible;
}

.search-icon-landing {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #B3123F !important;
  font-size: 15px;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.2s ease;
}

.search-input-field-landing {
  padding-left: 44px !important;
  height: 48px;
  border-radius: 14px !important;
  border: 1.5px solid #ffe3e6 !important;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: #fff;
}

.search-input-field-landing:focus {
  border-color: #B3123F !important;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.08) !important;
}

.search-select-wrapper-landing {
  position: relative;
  width: 100%;
}

.search-select-field-landing {
  padding-left: 40px !important;
  height: 48px;
  border-radius: 14px !important;
  border: 1.5px solid #ffe3e6 !important;
  font-size: 13.5px;
  cursor: pointer;
  color: #374151;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.9);
  /* Custom chevron for button-based dropdowns */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding-right: 38px !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-select-field-landing:focus,
.search-select-field-landing[aria-expanded="true"] {
  border-color: #B3123F !important;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.08) !important;
  outline: none;
}

.btn-search-landing {
  height: 48px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, #ff4757 0%, #B3123F 100%);
  border: none;
  color: white;
  box-shadow: 0 6px 16px rgba(179, 18, 63, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-search-landing:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(179, 18, 63, 0.35);
  color: white;
}

.btn-search-landing:active {
  transform: translateY(0);
}

/* Override search history dropdown in landing */
#search-history-dropdown {
  position: absolute;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: white !important;
  border: 1px solid #ffe3e6 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* =========================================
   AUTH PAGES (Login & Register)
   (consolidated from inline <style>)
========================================= */
.auth-page {
  min-height: 100vh;
  background: url('/images/hero_bg.png') center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: 32px;
  padding: 42px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .2);
}

.auth-logo {
  height: 42px;
  margin-bottom: 10px;
}

.auth-title {
  font-size: 34px;
  font-weight: 800;
}

.auth-subtitle {
  color: #6b7280;
  margin-bottom: 28px;
}

.auth-card .form-control {
  height: 56px;
  border-radius: 18px;
  border: 1.5px solid #e5e7eb;
}

.auth-card .form-control:focus {
  border-color: #B3123F;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, .1);
}

.btn-auth {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 18px;
  background: #B3123F;
  color: white;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-auth:hover {
  background: #8f0f34;
  transform: translateY(-1px);
}

.switch-link {
  color: #B3123F;
  font-weight: 600;
  text-decoration: none;
}

.switch-link:hover {
  text-decoration: underline;
}

/* Auth body override (no scroll, no padding-top) */
body.auth-body {
  overflow: hidden;
  padding-top: 0;
  background: #000;
}

/* =========================================
   WISHLIST PAGE
   (consolidated from inline <style>)
========================================= */
.wishlist-page {
  padding: 40px 0 48px;
  min-height: 80vh;
}

.empty-box {
  background: #fff;
  border-radius: 24px;
  padding: 80px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  border: 1.5px solid #f3f4f6;
}

.empty-box i {
  font-size: 60px;
  color: #fca5a5;
  margin-bottom: 20px;
  display: block;
}

/* =========================================
   RESPONSIVE: Misc mobile fixes
========================================= */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .search-panel-card-landing {
    padding: 16px;
    border-radius: 18px;
    margin: 20px auto 0;
  }

  .ai-box {
    padding: 24px 18px;
  }

  .auth-card {
    margin: 16px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .auth-title {
    font-size: 28px;
  }

  .wishlist-page {
    padding: 24px 0 60px;
  }
}

/* =========================================
   AUTH MODAL OVERLAY STYLE
   ========================================= */
.auth-modal-dialog {
  max-width: 920px;
  width: 90%;
}

.auth-modal-content {
  border-radius: 28px;
  border: none;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  position: relative;
}

/* Rounded white close button */
.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1056;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 8px;
  opacity: 0.85;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-modal-close:hover {
  opacity: 1;
  transform: scale(1.05);
  background-color: #f3f4f6;
}

.auth-img-col {
  min-height: 580px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Gradient overlay on the image similar to modern splash screens */
.auth-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

.auth-form-col {
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 42px 48px;
}

.auth-form-wrapper {
  width: 100%;
}

.auth-modal-logo {
  height: 38px;
  object-fit: contain;
}

.auth-modal-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.6px;
  margin-bottom: 4px;
}

.auth-modal-subtitle {
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 0;
}

.auth-switch-link {
  color: #B3123F;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.auth-switch-link:hover {
  color: #b91c2c;
  text-decoration: underline;
}

.auth-input {
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.auth-input:focus {
  border-color: #B3123F;
  box-shadow: 0 0 0 4px rgba(179, 18, 63, 0.08);
}

.btn-auth-submit {
  height: 52px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15.5px;
  background: #B3123F;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(179, 18, 63, 0.2);
}

.btn-auth-submit:hover {
  background: #8f0f34;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(179, 18, 63, 0.28);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
  text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ebebeb;
}

.auth-divider span {
  padding: 0 12px;
}

.btn-social {
  height: 48px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ebebeb;
  background: #ffffff;
  color: #4b5563;
  transition: all 0.2s ease;
}

.btn-social:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #1f2937;
}

.auth-modal-footer {
  font-size: 12px;
  color: #9ca3af;
}

.auth-modal-footer a {
  color: #9ca3af;
  transition: color 0.15s;
}

.auth-modal-footer a:hover {
  color: #B3123F !important;
}

@media (max-width: 768px) {
  .auth-modal-dialog {
    max-width: 480px;
    margin: 1.5rem auto;
  }
  .auth-form-col {
    padding: 36px 24px;
  }
}

/* =========================================
   PREMIUM CUSTOM STYLE OVERRIDES
========================================= */

.custom-navbar {
  border: 1px solid rgba(179, 18, 63, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.01) !important;
}

.search-icon-landing, .search-select-icon, .search-input-icon {
  color: #B3123F !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.search-select-wrapper-landing:hover .search-icon-landing,
.search-select-wrapper:hover .search-select-icon,
.search-input-wrapper:hover .search-input-icon {
  transform: translateY(-50%) scale(1.15) !important;
}

.btn-danger, .btn-auth, .btn-search-landing {
  background: linear-gradient(135deg, #ff4757 0%, #B3123F 100%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(179, 18, 63, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-danger:hover, .btn-auth:hover, .btn-search-landing:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 24px rgba(179, 18, 63, 0.35) !important;
  color: white !important;
}

.btn-outline-danger {
  border: 1.5px solid #B3123F !important;
  color: #B3123F !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-outline-danger:hover {
  background: linear-gradient(135deg, #ff4757 0%, #B3123F 100%) !important;
  border-color: transparent !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(179, 18, 63, 0.25);
}

.quick-pill, .quick-chip {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-pill i, .quick-chip i {
  color: #B3123F;
  transition: transform 0.25s ease;
}

.quick-pill:hover i, .quick-chip:hover i {
  transform: scale(1.2) rotate(5deg);
}

.quick-pill:hover, .quick-chip:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(179, 18, 63, 0.08) !important;
  border-color: #ffd6da !important;
}

.custom-card {
  border: 1px solid rgba(228, 230, 235, 0.8) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.custom-card:hover {
  transform: translateY(-8px) scale(1.005) !important;
  box-shadow: 0 20px 48px rgba(179, 18, 63, 0.07), 0 6px 16px rgba(0, 0, 0, 0.03) !important;
  border-color: #ffd6da !important;
}

/* =========================================
   GLOBAL POLISH & ALIGNMENT
========================================= */

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
  transition: var(--transition-smooth);
}

/* All sections consistent horizontal padding on container */
.container {
  padding-left: 16px;
  padding-right: 16px;
}

/* Section spacing consistency */
.container.mt-5 {
  margin-top: 36px !important;
}

/* Row inside search result — equal height cards */
#search-results .row,
#popular-list .popular-list-inner {
  align-items: stretch;
}

/* Ensure all card columns stretch to equal height */
#search-results .col-md-3 {
  display: flex;
  flex-direction: column;
}

/* =========================================
   HERO POLISH
========================================= */
.hero {
  height: 680px;
}

.hero-content {
  padding-top: 0;
  padding-bottom: 0;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
  margin-bottom: 12px;
}

.hero p {
  font-size: 15.5px;
  opacity: 0.88;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero {
    height: 560px;
  }
  .hero h1 {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
  }
}

/* =========================================
   SEARCH HERO BANNER — CONSISTENT
========================================= */
.search-hero-banner {
  padding-top: 125px;
  padding-bottom: 48px;
}

.search-hero-banner h1 {
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.6px !important;
  line-height: 1.25 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35) !important;
}

.search-hero-banner p {
  font-size: 14.5px !important;
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
}

/* =========================================
   SECTION HEADERS — CONSISTENT ALIGNMENT
========================================= */

/* Unified section header flex layout */
.d-flex.justify-content-between.align-items-center {
  gap: 12px;
}

/* Section title consistent font */
.section-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: -0.4px !important;
}

/* Muted sub-text in section header */
.section-title ~ small.text-muted,
small.text-muted {
  font-size: 13px !important;
  color: #9ca3af !important;
  line-height: 1.5;
  display: block;
  margin-top: 3px;
}

/* =========================================
   NAVBAR POLISH
========================================= */
.custom-navbar {
  border: 1px solid rgba(179, 18, 63, 0.05) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: box-shadow 0.3s ease !important;
}

/* =========================================
   SEARCH PANEL CARD — CONSISTENT
========================================= */
.search-panel-card-landing,
.search-panel-card {
  border-radius: 24px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 24px 56px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03) !important;
  overflow: visible !important;
}

/* =========================================
   QUICK PILLS / CHIPS — MICRO ANIMATIONS
========================================= */
.quick-pill, .quick-chip {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  will-change: transform;
}

.quick-pill i, .quick-chip i {
  color: #B3123F;
  transition: transform 0.28s ease;
}

.quick-pill:hover i, .quick-chip:hover i {
  transform: scale(1.25) rotate(8deg);
}

.quick-pill:hover, .quick-chip:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(179, 18, 63, 0.1) !important;
  border-color: #ffd6da !important;
  color: #B3123F !important;
}

/* =========================================
   BUTTONS — GLOBAL POLISH
========================================= */
.btn-danger, .btn-auth, .btn-search-landing {
  background: linear-gradient(135deg, #ff4757 0%, #B3123F 100%) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(179, 18, 63, 0.22) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
}

.btn-danger:hover, .btn-auth:hover, .btn-search-landing:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(179, 18, 63, 0.38) !important;
  color: white !important;
}

.btn-outline-danger {
  border: 1.5px solid #B3123F !important;
  color: #B3123F !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-outline-danger:hover {
  background: linear-gradient(135deg, #ff4757 0%, #B3123F 100%) !important;
  border-color: transparent !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(179, 18, 63, 0.28) !important;
}

/* =========================================
   SEARCH ICONS — HOVER MICRO ANIMATION
========================================= */
.search-icon-landing, .search-select-icon, .search-input-icon {
  color: #B3123F !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.search-select-wrapper-landing:hover .search-icon-landing,
.search-select-wrapper:hover .search-select-icon,
.search-input-wrapper:hover .search-input-icon {
  transform: translateY(-50%) scale(1.18) !important;
}

/* =========================================
   RESULTS HEADER — ALIGNMENT
========================================= */
.results-header {
  margin-bottom: 24px;
  padding: 14px 0 18px;
}

.results-header h4 {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

/* =========================================
   TRENDING ARROW BUTTONS
========================================= */
.trending-arrow {
  transition: var(--transition-smooth);
}

/* =========================================
   WISHLIST PAGE POLISH
========================================= */
.wishlist-page {
  padding-top: 32px;
}

/* =========================================
   PROFILE PAGE POLISH
========================================= */
.profile-card {
  transition: box-shadow 0.35s ease;
}

.profile-card:hover {
  box-shadow: 0 24px 50px rgba(179, 18, 63, 0.07), 0 4px 16px rgba(0,0,0,0.03) !important;
}

/* =========================================
   FOOTER — ALIGNMENT & SPACING
========================================= */
.footer {
  margin-top: 48px !important;
}

/* =========================================
   AOS GLOBAL SMOOTH OVERRIDE
   Ensures all AOS elements have smooth cubic easing
========================================= */
[data-aos] {
  will-change: transform, opacity;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 24px, 0);
}

[data-aos="fade-up"].aos-animate {
  transform: translate3d(0, 0, 0);
}

[data-aos="zoom-in"] {
  transform: scale3d(0.96, 0.96, 1);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale3d(1, 1, 1);
}

/* =========================================
   RESPONSIVE REFINEMENTS
========================================= */
@media (max-width: 768px) {
  .container.mt-5 {
    margin-top: 24px !important;
  }

  .section-title {
    font-size: 17px !important;
  }

  .results-header h4 {
    font-size: 17px !important;
  }

  .search-hero-banner {
    padding-top: 100px;
    padding-bottom: 32px;
  }
}

@media (max-width: 576px) {
  .footer {
    margin-top: 32px !important;
  }

  .section-title {
    font-size: 16px !important;
  }
}

/* =========================================
   DAFTAR KULINER — HERO (gaya "Tentang Kami")
========================================= */

.search-hero-banner.search-hero-daftar {
  background: linear-gradient(155deg, #4a0a17 0%, #6b0f20 45%, #7a1224 100%);
  padding-top: 130px;
  padding-bottom: 40px;
  overflow: hidden;
}

.search-hero-banner.search-hero-daftar::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  inset: auto;
}

.search-hero-banner.search-hero-daftar::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* Bubble tambahan biar rame kayak di card JajanAI */
.search-hero-banner.search-hero-daftar .bubble-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.search-hero-banner.search-hero-daftar .bubble-deco.b1 {
  top: 35%;
  right: 15%;
  width: 90px;
  height: 90px;
}

.search-hero-banner.search-hero-daftar .bubble-deco.b2 {
  bottom: 20%;
  right: 32%;
  width: 50px;
  height: 50px;
}

/* Eyebrow badge */
.daftar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 18px;
}

.daftar-eyebrow i {
  color: #ff5470;
}

/* Title */
.daftar-hero-title {
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.daftar-hero-title span {
  color: #ff5470;
}

.daftar-hero-lead {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}

.daftar-hero-lead a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 767px) {
  .search-hero-banner.search-hero-daftar { padding-top: 100px; padding-bottom: 28px; }
}

/* =========================================
   SEARCH PANEL + STATS — SATU CARD MENYATU
========================================= */
.search-panel-with-stats {
  padding: 24px 26px 8px;
  margin-bottom: 0;
}

.stats-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.stats-inline-row .stat-item {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  flex: 1;
  text-align: center;
  gap: 2px;
}

.stats-inline-row .stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.stats-inline-row .stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
}

.stats-inline-row .stat-divider {
  width: 1px;
  height: 28px;
  background: #f0f0f0;
}

@media (max-width: 767px) {
  .stats-inline-row { flex-wrap: wrap; gap: 12px 0; }
  .stats-inline-row .stat-item { flex: 1 1 45%; }
  .stats-inline-row .stat-divider { display: none; }
}

/* ---------- Filter bar (chips kategori + dropdown) ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0 6px;
}

/* Chips kategori — reuse gaya quick-pill/filter-pill-btn yang sudah ada */
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chips .chip {
  border: 1.5px solid #ebebeb;
  background: #ffffff;
  color: #4b5563;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.filter-chips .chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-accent-bg);
  box-shadow: 0 4px 16px rgba(179, 18, 63, 0.1);
}

.filter-chips .chip.active {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(179, 18, 63, 0.28);
}

/* Dropdown filter (kecamatan & sort) */
.filter-dropdowns {
  display: flex;
  gap: 10px;
}

.filter-dropdown-btn {
  background: #ffffff;
  border: 1.5px solid #ebebeb;
  color: var(--color-text-body);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.filter-dropdown-btn:hover,
.filter-dropdown-btn:focus {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-accent-bg);
}

.filter-dropdown-menu {
  border: 1px solid #f0f0f0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-radius: 16px !important;
  padding: 8px;
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
  min-width: 210px;
  z-index: 9999 !important;
  position: absolute !important;
  top: 100%;
  left: 0;
}

.filter-dropdown-menu .dropdown-item {
  border-radius: 10px;
  font-size: 13.5px;
  padding: 9px 14px;
  font-weight: 500;
}

.filter-dropdown-menu .dropdown-item:hover {
  background: #fff5f6;
  color: var(--color-primary);
}

.filter-dropdown-menu .dropdown-item.active {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 767px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-dropdowns { justify-content: space-between; }
  .filter-dropdown-btn { flex: 1; justify-content: space-between; }
}

/* ---------- Grid 5 kolom untuk card daftar kuliner ---------- */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* =========================================
   PAGINATION — CUSTOM STYLE (ganti default Bootstrap biru)
========================================= */

#pagination-wrap .pagination {
  gap: 6px;
  flex-wrap: wrap;
}

#pagination-wrap .page-item .page-link {
  border: 1.5px solid #ebebeb;
  color: var(--color-text-body);
  background: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill) !important;
  margin: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

#pagination-wrap .page-item .page-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-accent-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(179, 18, 63, 0.12);
}

#pagination-wrap .page-item.active .page-link {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(179, 18, 63, 0.28);
}

#pagination-wrap .page-item.disabled .page-link {
  background: #f9fafb;
  border-color: #f0f0f0;
  color: #d1d5db;
  box-shadow: none;
  cursor: not-allowed;
}

#pagination-wrap .page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
  border-color: #f0f0f0;
  color: #d1d5db;
  background: #f9fafb;
}

/* Ellipsis "…" item */
#pagination-wrap .page-item.disabled span.page-link {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #9ca3af;
  font-weight: 700;
}

/* Prev/Next arrow buttons sedikit beda supaya kebedain dari angka */
#pagination-wrap .page-item:first-child .page-link,
#pagination-wrap .page-item:last-child .page-link {
  color: var(--color-text-muted);
  font-size: 12px;
}

#pagination-wrap .page-item:first-child .page-link:hover,
#pagination-wrap .page-item:last-child .page-link:hover {
  color: var(--color-primary);
}

@media (max-width: 576px) {
  #pagination-wrap .page-item .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 12.5px;
  }
}

/* =========================================
   FOOTER SECTION
========================================= */
.footer-section {
  background: #ffffff;
  border-top: 1px solid rgba(230, 232, 240, 0.85);
  padding-top: 55px;
  padding-bottom: 30px;
  margin-top: 70px;
  position: relative;
  z-index: 10;
  color: var(--color-text-body);
}

.footer-section .footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.footer-section .footer-logo:hover {
  transform: translateY(-2px);
}

.footer-section .footer-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-section .footer-socials {
  gap: 10px;
}

.footer-section .footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-accent-border);
}

.footer-section .footer-social-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(179, 18, 63, 0.25);
}

.footer-section .footer-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-section .footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.footer-section .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section .footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.footer-section .footer-links .footer-arrow {
  font-size: 11px;
  color: var(--color-primary);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.footer-section .footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer-section .footer-links a:hover .footer-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.footer-section .footer-bottom {
  border-top: 1px solid rgba(230, 232, 240, 0.8);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.footer-section .footer-bottom strong {
  color: var(--color-primary);
  font-weight: 700;
}