/* Index overrides: simplify UI and make banner responsive */
/* Top navigation bar improvements */
.basic-search,
.listings-section,
.filter-row,
.section-title,
.section-subtitle {
  color: #000000;
}
.filter-input,
.filter-select {
  color: #000000;
}
.quick-filters .quick-filter-btn {
  color: #000000;
}
.quick-filters .quick-filter-btn.active {
  color: #ffffff;
}
.header {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  color: #000000 !important;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.mobile-menu-btn span {
  background-color: #000000 !important;
}

.login-btn {
  background-color: #3498db !important; /* Blue */
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-block !important;
  transition: background 0.3s ease !important;
  border: none !important;
}

.login-btn:hover {
  background-color: #2980b9 !important; /* Darker blue on hover */
  color: #ffffff !important;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #000000 !important;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000000 !important;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  min-width: 180px;
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #374151;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: #f9fafb;
  color: #111827;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .middle-banner-slider .slider-container {
        height: 450px !important;
    }
}

@media (max-width: 768px) {
  .nav {
    padding: 0.65rem 0.75rem;
  }

  .header {
    padding: 0.5rem 0 !important;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.45rem 0 !important;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }

  .nav-buttons {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .mobile-menu {
    display: block !important;
    z-index: 1100 !important;
  }
}

/* Responsive banner images */
.banner-ads-section .banner-content-wrapper {
  position: relative;
  overflow: visible;
}

.banner-ads-section .banner-image {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
}

.banner-ads-section .banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Simplify like/add-to-cart buttons to single color */
.daily-specials-section .add-to-cart-btn,
.category-dishes-section .add-to-cart-btn,
.listings-section .add-to-cart-btn {
  background: #111111 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.daily-specials-section .add-to-cart-btn:hover,
.category-dishes-section .add-to-cart-btn:hover,
.listings-section .add-to-cart-btn:hover {
  background: #000000 !important;
  transform: scale(1.05);
}

/* Ensure slider nav buttons remain visible on images */
.banner-ads-section .banner-nav-btn {}

@media (max-width: 768px) {
  .banner-ads-section .banner-title {
    font-size: 1.25rem;
  }

  .banner-ads-section .banner-description {
    font-size: 0.95rem;
  }
}

/* New: container and spacing for banner and hero */
.banner-ads-section {
  padding-left: 3px;
  padding-right: 3px;
  margin-bottom: 2%;
}

/* Main page background - everything white */
body,
html {
  background-color: white !important;
  background: white !important;
}

.container,
.main-content,
.content-wrapper {
  background-color: white !important;
  background: white !important;
}

/* Override any grey backgrounds from main_page.css */
.main-content,
.content-section,
.page-wrapper {
  background: white !important;
  background-color: white !important;
}

/* Override specific sections that might have grey backgrounds */
.section,
.content-area,
.main-section {
  background: white !important;
  background-color: white !important;
}

/* Override container elements */
.listings-slider-container,
.category-slider-container,
.sponsored-card-image-wrapper {
  background: white !important;
  background-color: white !important;
}

/* Override any wrapper elements */
.banner-content-wrapper,
.basic-search-container,
.view-more-container {
  background: white !important;
  background-color: white !important;
}
/* White backgrounds for all sections */
.specials-section,
.recommendations-section,
.listings-section,
.category-dishes-section {
  background: white !important;
}

/* Reduce vertical spacing around sliders */
.listings-section {
  padding: 1.5rem 0 !important;
}
.listings-slider-container,
.category-slider-container {
  margin-top: 0.25rem !important;
}
.listings-slider,
.daily-specials-section #specialsSlider {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Compact View buttons and spacing */
.view-more-container {
  margin-top: 0.25rem !important;
  margin-bottom: 0.125rem !important;
}
.view-more-btn,
.btn-view-menu {
  padding: 0.35rem 0.75rem !important;
  font-size: 15px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}
.view-more-btn span {
  font-size: 15px !important;
}
.view-more-btn:hover {
  transform: none !important;
  box-shadow: none !important;
}
/* Reduce subtitle spacing to tighten sections */
.section-subtitle {
  margin-bottom: 0.5rem !important;
}
/* Make section headings 15px across all sections */
.section-title {
  font-size: 15px !important;
  line-height: 1.2 !important;
}
section .section-title {
  margin-top: 0 !important;
}
/* Ensure category sections follow tighter spacing */
.category-dishes-section .listings-slider {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.category-dishes-section .view-more-container {
  margin-top: 0.25rem !important;
  margin-bottom: 0.125rem !important;
}
@media (min-width: 992px) {
  .view-more-container {
    margin-top: 0.9rem !important;
    margin-bottom: 0.125rem !important;
  }
  .category-dishes-section .view-more-container {
    margin-top: 0.9rem !important;
    margin-bottom: 0.125rem !important;
  }
}

/* Banner section - completely transparent */
.banner-ads-section {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  position: relative;
  z-index: auto;
}


.banner-ads-section .banner-slider {
  width: 100% !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  position: relative;
  z-index: 90;
}

@media (max-width: 768px) {
  .banner-ads-section .banner-slider {
    width: 100% !important;
    height: clamp(180px, 40vh, 520px) !important;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: flex !important;
    align-items: stretch !important;
    z-index: 90;
  }

  .banner-ads-section {
    padding-left: 3px;
    padding-right: 3px;
    margin-top: 0;
    margin-bottom: 2% !important;
    background-color: transparent !important;
  }

  .banner-ads-section .banner-content-wrapper {
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .banner-ads-section .banner-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}






.banner-ads-section .banner-content-wrapper {
  height: clamp(320px, 50vh, 620px);
  box-shadow: none !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
}

.banner-ads-section .banner-overlay {
  background: transparent !important;
}

.banner-ads-section .banner-image {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
}

/* Ensure visible space between banner and hero */
.hero {
  margin-top: 0 !important;
}

/* Mobile: remove bottom space and keep tiny gap */
@media (max-width: 768px) {

  .header {
    padding: 0.5rem 0 !important;
  }

  .nav {
    height: 100% !important;
    align-items: center !important;
  }

  /* Center and adjust banner section */
  .banner-ads-section {
    margin-bottom: 2% !important;
    margin-top: 1rem !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body {
    padding-top: 76px !important;
  }

  .simple-banner {
    margin-top: 0.75rem !important;
  }

  .banner-ads-section .banner-slider {
    width: 100% !important;
    margin: 0 auto !important;
    height: clamp(320px, 60vh, 720px) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative;
    z-index: 90;
  }

  .banner-ads-section .banner-content-wrapper {
    height: 100% !important;
    overflow: visible !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0 !important;
  }

  .banner-ads-section .banner-overlay,
  .banner-ads-section .banner-text,
  .banner-ads-section .banner-navigation,
  .banner-ads-section .banner-indicators,
  .banner-ads-section .banner-nav-btn {
    display: none !important;
  }

  .banner-ads-section .banner-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background-color: transparent !important;
  }

  /* Move hero section up to reduce spacing */
  .hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
  }
}

/* Sponsored Cards Section */
.sponsored-cards-section {
  margin: 2rem 0;
  padding: 2rem 0;
}

.sponsored-cards-section .section-title {
  color: #000;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.sponsored-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  justify-content: center;
  place-items: center;
}

/* Ensure consistent card sizing across different screen sizes */
@supports (aspect-ratio: 5/4) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Enhanced responsive behavior */
@media (max-width: 1200px) {
  .sponsored-cards-grid {
    max-width: 1000px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0 1rem;
  }
}

@media (max-width: 600px) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
}

.sponsored-card {
  background: transparent;
  border-radius: 10px;
  overflow: hidden;

  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 5/4;
  min-height: 280px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.sponsored-card:hover {
  transform: translateY(-5px);
}

.sponsored-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  position: relative;
}

.sponsored-card-image-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: transparent;
}

.sponsored-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  background: transparent;
}

/* Ensure images load properly and handle different aspect ratios */
.sponsored-card-image[src=""],
.sponsored-card-image:not([src]),
.sponsored-card-image[src="#"] {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsored-card-image[src=""]:after,
.sponsored-card-image:not([src]):after,
.sponsored-card-image[src="#"]:after {
  content: "📷";
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
}

.sponsored-card:hover .sponsored-card-image {
  transform: scale(1.05);
}

.sponsored-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: transparent;
}

.sponsored-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #000;
  text-align: center;
  line-height: 1.4;
  text-shadow: none;
}

/* Dark theme tweak: reduce contrast of white cards */
body {
  /* keep as is; cards have their own background */
}

/* Responsive Design */
@media (max-width: 768px) {
  .box-ads-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .box-ads-indicators {
    bottom: 10px;
  }

  .box-ads-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .box-ads-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .box-ads-indicators {
    bottom: 8px;
  }

  .box-ads-indicator {
    width: 6px;
    height: 6px;
  }
}

/* Form Boxes Section */
.form-boxes-section {
  padding: 4rem 0;
  background: white !important;
  margin-top: 2rem;
}

.form-boxes-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  position: relative;
}

.form-boxes-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

.form-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.form-box {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.form-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-box-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-box-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.form-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-box-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-box-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #6c757d;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
  background: #4ecdc4;
  border-color: #4ecdc4;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.form-submit-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Individual Form Box Styling */
.contact-box::before {
  background: linear-gradient(90deg, #3498db, #2980b9);
}



/* Responsive Design for Form Boxes */
@media (max-width: 768px) {
  .form-boxes-section {
    padding: 3rem 0;
  }

  .form-boxes-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .form-boxes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-box {
    padding: 1.5rem;
  }

  .form-box-icon {
    font-size: 2.5rem;
  }

  .form-box-title {
    font-size: 1.3rem;
  }
}

/* Responsive Design for Sponsored Cards */
@media (max-width: 768px) {
  .sponsored-cards-section {
    padding: 1.5rem 0;
  }

  .sponsored-cards-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0 0.5rem;
  }

  .sponsored-card {
    aspect-ratio: 5/4;
    min-height: 240px;
  }

  .sponsored-card-content {
    padding: 0.75rem;
  }

  .sponsored-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sponsored-cards-section {
    padding: 2rem 0.5rem;
    position: relative;
  }

  .sponsored-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .sponsored-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .sponsored-card {
    aspect-ratio: 5/4;
    min-height: 220px;
    min-width: 220px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 100%;
    margin: 0 auto;
  }

  /* Mobile slider navigation */
  .mobile-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .mobile-slider-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .mobile-slider-btn.active {
    background: #ff6b35;
  }
}

.sponsored-card-title {
  font-size: 0.95rem;
}

.form-boxes-section {
  padding: 2rem 0;
}

.form-box {
  padding: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  font-size: 0.9rem;
}

.form-submit-btn {
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
}

/* Browsed Categories Overrides */
.category-card {
  flex: 0 0 calc(25% - 1.2rem) !important;
  /* Change from 20% to 25% for 4 per row */
  color: #000 !important;
  /* Make text black */
}

.category-card h3,
.category-card .category-name {
  color: #000 !important;
  /* Ensure category names are black */
}

/* Filter Section Text Color Overrides */
.filter-section {
  color: #000 !important;
  /* Make all filter section text black */
}

.filter-header h3 {
  color: #000 !important;
  /* Filter section title */
}

.filter-header p {
  color: #000 !important;
  /* Filter section description */
}

.filter-label {
  color: #000 !important;
  /* Filter labels */
}

.filter-select,
.filter-input {
  color: #000 !important;
  /* Filter input and select text */
}

.filter-select option {
  color: #000 !important;
  /* Filter dropdown options */
}

.btn-reset {
  color: #000 !important;
  /* Reset button text */
}

.btn-search {
  color: #fff !important;
  /* Keep search button text white for contrast */
}

/* Geolocation Detection Styles */
.location-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detect-location-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.detect-location-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.detect-location-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.detect-location-btn .location-icon {
  font-size: 1rem;
}

.detected-location-info {
  background: #e8f5e8;
  border: 1px solid #27ae60;
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
}

.location-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.status-icon {
  color: #27ae60;
  font-size: 0.9rem;
}

.status-text {
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.85rem;
}

.location-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.detected-country {
  color: #2c3e50;
  font-weight: 600;
}

.location-separator {
  color: #7f8c8d;
}

.detected-city {
  color: #34495e;
  font-weight: 500;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state for detect button */
.detect-location-btn.loading {
  background: #95a5a6;
  cursor: wait;
}

.detect-location-btn.loading .location-text::after {
  content: "...";
  animation: dots 1.5s infinite;
}

@keyframes dots {

  0%,
  20% {
    content: "";
  }

  40% {
    content: ".";
  }

  60% {
    content: "..";
  }

  80%,
  100% {
    content: "...";
  }
}

/* Error state */
.detected-location-info.error {
  background: #fdf2f2;
  border-color: #e74c3c;
}

.detected-location-info.error .status-icon {
  color: #e74c3c;
}

.detected-location-info.error .status-text {
  color: #c0392b;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .location-input-group {
    gap: 0.75rem;
  }

  .detect-location-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .detected-location-info {
    padding: 1rem;
  }

  .location-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .location-separator {
    display: none;
  }
}

/* Footer Black Background */
.footer {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
}

.footer * {
  color: #ffffff !important;
}

/* Ensure all footer containers have black background */
.footer .container {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-content {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-section {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-info {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-brand {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-links {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-column {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Quick links styling */
.footer .quick-links {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .quick-link-card {
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
  border: 1px solid #333333 !important;
  color: #ffffff !important;
}

.footer .quick-link-card:hover {
  background-color: #2a2a2a !important;
  background: #2a2a2a !important;
}

.footer .quick-link-card h4 {
  color: #ffffff !important;
}

.footer .quick-link-card p {
  color: #cccccc !important;
}

.footer .quick-link-icon {
  background-color: transparent !important;
}

.footer .quick-link-content {
  background-color: transparent !important;
}

/* Brand and text styling */
.footer .footer-brand h2 {
  color: #ffffff !important;
}

.footer .footer-brand p {
  color: #cccccc !important;
}

.footer .footer-column h4 {
  color: #ffffff !important;
}

.footer .footer-column ul {
  background-color: transparent !important;
}

.footer .footer-column li {
  background-color: transparent !important;
}

.footer .footer-column a {
  color: #cccccc !important;
  transition: color 0.3s ease;
  background-color: transparent !important;
}

.footer .footer-column a:hover {
  color: #ffffff !important;
}

.footer .footer-bottom {
  background-color: #000000 !important;
  background: #000000 !important;
  border-top: 1px solid #333333;
}

.footer .footer-bottom-content {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-bottom p {
  color: #cccccc !important;
}

.footer .social-links {
  background-color: transparent !important;
}

.footer .social-link {
  color: #cccccc !important;
  transition: color 0.3s ease;
  background-color: transparent !important;
}

.footer .social-link:hover {
  color: #ffffff !important;
}


@media (max-height: 368px) {

  /* Increase header height on mobile */
  .header {
    height: 80px !important;
    min-height: 80px !important;
    padding: 1rem 0 !important;
  }

  .nav {
    height: 100% !important;
    align-items: center !important;
  }

  /* Center and adjust banner section */
  .banner-ads-section {
    margin-bottom: 2% !important;
    margin-top: 1rem !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .banner-ads-section .banner-slider {
    width: 100% !important;
    margin: 0 auto !important;
    height: clamp(320px, 60vh, 720px) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .banner-ads-section .banner-content-wrapper {
    height: 100% !important;
    overflow: hidden !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .banner-ads-section .banner-overlay,
  .banner-ads-section .banner-text,
  .banner-ads-section .banner-navigation,
  .banner-ads-section .banner-indicators,
  .banner-ads-section .banner-nav-btn {
    display: none !important;
  }

  .banner-ads-section .banner-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background-color: transparent !important;
  }

  /* Move hero section up to reduce spacing */
  .hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
  }
}

/* Desktop spacing: maintain 2vh gap between banner and hero */
@media (min-width: 769px) {
  .banner-ads-section {
    margin-bottom: 2% !important;
  }
}

/* Top bar cleanup: remove border and box-shadow */
.header,
.nav,
.top-bar,
.navbar {
  border: none !important;
  box-shadow: none !important;
}

/* Top bar: add subtle bottom border (not banner) */
.header,
.top-bar,
.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: none !important;
}
.responsive-banner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (max-width: 1200px) { .responsive-banner { max-width: 100%; padding: 0 1rem; } }
@media (max-width: 768px) { .responsive-banner { padding: 0 0.5rem; } }

/* Ensure hero content is not covered by the fixed top bar on mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: 88px !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 96px !important;
  }
}

@media (max-width: 768px) {
  .header {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0.25rem 0 !important;
  }
  .nav {
    height: 56px !important;
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  .header {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0.2rem 0 !important;
  }
  .nav {
    height: 52px !important;
    align-items: center !important;
  }
}
.browsed-categories-section {
  background: white !important;
  background-color: white !important;
  padding: 2rem 0 !important;
}
/* Reduce top spacing for all category sections to tighten gaps between sections */
.category-dishes-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.lunch-section .view-more-container {
  margin-bottom: 0 !important;
}
/* Main Course section: keep only 1px gap before it */
.dinner-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
section.lunch-section + section.dinner-section {
  margin-top: 0 !important;
}
.lunch-section .slider-btn {
  display: none !important;
}
.lunch-section .view-more-container + span {
  display: none !important;
}
.lunch-section .view-more-container + span + button {
  display: none !important;
}

.category-dishes-section .section-title {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.dinner-section .section-title {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.category-dishes-section {
  background: white !important;
  background-color: white !important;
}

.category-dishes-section:nth-child(even) {
  background: white !important;
  background-color: white !important;
}

.category-dishes-section::before {
  background: none !important;
}

.search-mode-toggle {
  background: white !important;
  background-color: white !important;
}

.category-dishes-section,
main > section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
main > section + section {
  margin-top: 2px !important;
}
.category-dishes-section > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.browsed-categories-section .categories-grid {
  margin-top: 0.5rem !important;
  gap: 1rem !important;
}

/* Generic section spacing tightening */
section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
section + section {
  margin-top: 2px !important;
}
section > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Dropdown plain text: force black on index page */
.header .dropdown-menu .dropdown-item,
.mobile-menu .mobile-category-item {
  color: #000 !important;
}

.multi-select {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 220px;
}
.multi-select-search {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #000;
  background: #fff;
}
.multi-select-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.multi-select-list li {
  padding: 0.4rem 0.6rem;
}
.multi-select-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
}
.multi-select-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.multi-select-actions .btn-apply,
.multi-select-actions .btn-clear {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  cursor: pointer;
}
.multi-select-actions .btn-apply {
  border-color: #c0392b;
}
.multi-select-empty {
  color: #6b7280;
  font-size: 0.9rem;
}

.search-input-group {
  position: relative;
}
.basic-multi-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  z-index: 1010;
}

.basic-subcategory-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.basic-subcategory-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.basic-subcategory-modal .modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: clamp(280px, 85vw, 380px);
  border: 1px solid #e5e7eb;
  max-height: 70vh;
  overflow: auto;
  padding: 1rem;
}
.basic-subcategory-modal h4 {
  margin: 0 0 8px 0;
  color: #000;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

/* Center subcategories and remove extra spacing in modal */
.basic-subcategory-modal .multi-select-list {
  margin: 0;
  padding: 8px;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.basic-subcategory-modal .multi-select-list li {
  width: 100%;
  padding: 0;
}
.basic-subcategory-modal .multi-select-list label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}
.basic-subcategory-modal .multi-select-list input[type="checkbox"] {
  accent-color: #e74c3c;
}
.basic-subcategory-modal .multi-select-actions {
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.basic-subcategory-modal .multi-select-actions .btn-apply,
.basic-subcategory-modal .multi-select-actions .btn-clear {
  min-width: 90px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.basic-subcategory-modal .multi-select-actions .btn-apply {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: 1px solid #c0392b;
}
.basic-subcategory-modal .multi-select-actions .btn-clear {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
}

/* Final overrides: ensure banner images are not cropped */
.banner-ads-section .banner-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Ensure banner sits below fixed header */
.banner-ads-section {
  margin-top: 5rem !important;
  margin-bottom: 2% !important;
}

.simple-banner {
  margin-top: 0.75rem !important;
}

@media (max-width: 768px) {
  .banner-ads-section .banner-image {
    object-fit: contain !important;
    object-position: center !important;
  }
  .simple-banner .banner-container { padding-left: 2px !important; padding-right: 0 !important; }
  .middle-banner-slider .slider-container { padding-left: 2px !important; }
  .hero { padding-left: 2px !important; }
  .hero-content { padding-left: 2px !important; }
  .simple-banner { margin-bottom: 2px !important; }
  .middle-banner-slider { margin-top: 3px !important; margin-bottom: 3px !important; }
  .hero { margin-top: 2px !important; }
}

@media (max-width: 768px) {
  .simple-banner {
    margin-top: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .simple-banner {
    margin-top: 0.5rem !important;
  }
  .simple-banner .banner-container { padding-left: 2px !important; padding-right: 0 !important; }
  .middle-banner-slider .slider-container { padding-left: 2px !important; }
  .hero { padding-left: 2px !important; }
  .hero-content { padding-left: 2px !important; }
  .simple-banner { margin-bottom: 2px !important; }
  .middle-banner-slider { margin-top: 3px !important; margin-bottom: 3px !important; }
  .hero { margin-top: 2px !important; }
}
@media (max-width: 380px) {
  .simple-banner { margin-bottom: 2px !important; }
  .middle-banner-slider { margin-top: 0.15rem !important; }
  .simple-banner .banner-container { padding-left: 1px !important; padding-right: 0 !important; }
  .middle-banner-slider .slider-container { padding-left: 1px !important; }
  .hero { padding-left: 1px !important; }
  .hero-content { padding-left: 1px !important; }
}
@media screen and (max-width: 360px) and (max-height: 740px) {
  .simple-banner { margin-bottom: 2px !important; }
  .middle-banner-slider { margin-top: 3px !important; margin-bottom: 3px !important; }
  .simple-banner .banner-container { padding-left: 1px !important; padding-right: 0 !important; }
  .middle-banner-slider .slider-container { padding-left: 1px !important; }
  .hero { padding-left: 1px !important; }
  .hero-content { padding-left: 1px !important; }
  .middle-banner-slider .slider-img { height: 200px !important; object-fit: cover !important; }
  .hero { margin-top: 2px !important; }
}

@media (max-height: 368px) {
  .banner-ads-section .banner-image {
    object-fit: contain !important;
    object-position: center !important;
  }
}

.hero {
  margin-top: 0 !important;
  margin-bottom: 2% !important;
}

@media (max-width: 768px) {
  .banner-ads-section {
    margin-bottom: 2% !important;
  }

  .hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .header { background: #ffffff !important; border-bottom: 1px solid rgba(0,0,0,0.08) !important; }
  .nav-links a { color: #000000 !important; }
  .mobile-menu-btn span { background: #000000 !important; }
}

.simple-banner .banner-container { width: 100% !important; padding: 0 !important; }
.simple-banner .banner-img { width: 100% !important; height: auto !important; object-fit: contain !important; border-radius: 0 !important; display: block !important; }
.middle-banner-slider .slider-container { width: 100% !important; padding: 0 !important; }
.middle-banner-slider .slider-img { width: 100% !important; height: auto !important; object-fit: cover !important; border-radius: 0 !important; }
@media (max-width: 1200px) { .middle-banner-slider .slider-img { max-height: 350px !important; } }
@media (max-width: 768px) { .middle-banner-slider .slider-img { max-height: 280px !important; } }
@media (max-width: 480px) { .middle-banner-slider .slider-img { max-height: 200px !important; } }

/* ==========================================================================
   Middle Banner Slider Overrides (Beauty Done Right Style)
   ========================================================================== */

.middle-banner-slider {
        position: relative;
        width: 96% !important; /* Adjusted to 96% for better spacing */
        margin: 0 auto !important; /* Centered */
        margin-top: 40px !important; /* Increased top space slightly */
        margin-bottom: 0 !important;
        overflow: hidden;
    }
/* Tighten space under top bar */
.middle-banner-slider {
  margin-top: 0 !important;
}

.middle-banner-slider .slider-container {
    position: relative;
    width: 100% !important;
    height: 550px !important; /* Increased height to 550px */
    padding: 0 !important;
    display: block !important;
}

/* Slide Item */
.middle-banner-slider .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block !important; /* Force block for transitions */
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
    transform: translateX(100%); /* Default: off-screen right */
    z-index: 1;
    opacity: 0; /* Hide when off-screen to prevent focus/interaction */
}

.middle-banner-slider .slide-item.active {
    transform: translateX(0);
    z-index: 2;
    opacity: 1;
}

.middle-banner-slider .slide-item.left {
    transform: translateX(-100%);
    opacity: 1; /* Keep visible while sliding out */
}

.middle-banner-slider .slide-item.no-transition {
    transition: none !important;
}

/* Image - Full Cover */
.middle-banner-slider .slider-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important; /* Changed to fill to prevent cropping on desktop */
        max-height: none !important;
        border-radius: 0 !important;
    }

/* Zoom Effect Animation */
@keyframes zoomSlow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.middle-banner-slider .slide-item.active .slider-img {
    animation: zoomSlow 20s linear infinite alternate;
    transform-origin: center center;
}

/* Ensure no transition on the image itself during slide to prevent conflicts */
.middle-banner-slider .slider-img {
    transition: transform 0.5s ease-out;
}
/* Overlay - Centered Text */
.middle-banner-slider .slider-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 100%;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.middle-banner-slider .slider-title {
    font-family: 'Georgia', 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.middle-banner-slider .slider-desc {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #f0f0f0;
    margin: 0;
}

/* Navigation Arrows - Thin Chevrons */
.middle-banner-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 4rem;
    font-weight: 100;
    cursor: pointer;
    z-index: 20;
    padding: 0 20px;
    font-family: sans-serif; /* For thin chevron look */
    transition: color 0.3s;
}

.middle-banner-slider .slider-nav:hover {
    color: #ffffff;
}

.middle-banner-slider .slider-nav.prev {
    left: 50px;
}

.middle-banner-slider .slider-nav.next {
    right: 50px;
}

/* Indicators - Bottom Center Dashes */
.middle-banner-slider .slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.middle-banner-slider .indicator-dot {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.middle-banner-slider .indicator-dot.active {
    background: #ffffff;
}

/* Precise spacing between banner and hero */
.simple-banner {
    width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 5px !important; /* Increased gap */
}

.hero {
    width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 5px !important; /* Increased gap */
}

/* Floating Header */
.header {
    width: 96% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .middle-banner-slider .slider-container {
        height: 450px !important;
    }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .middle-banner-slider {
        margin-top: 0 !important; /* Reset desktop spacing */
        width: 96% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .middle-banner-slider .slider-container {
        display: grid !important; /* Use Grid to stack items while keeping auto height */
        grid-template-columns: 1fr;
        height: auto !important;
        min-height: auto !important;
    }
    
    .middle-banner-slider .slide-item {
        grid-column: 1;
        grid-row: 1;
        position: relative !important; /* Relative allows height calculation */
        height: auto !important;
        width: 100% !important;
    }
    
    .middle-banner-slider .slider-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Changed to contain to stop cropping */
        min-height: auto !important; /* Allow height to adjust naturally */
        max-height: 300px !important; /* Limit height on mobile */
    }

    .middle-banner-slider .slider-title {
        font-size: 2rem;
    }

    .middle-banner-slider .slider-desc {
        font-size: 1rem;
    }

    .middle-banner-slider .slider-nav {
        font-size: 3rem;
        padding: 0 10px;
    }

    .middle-banner-slider .slider-nav.prev { left: 5px; }
    .middle-banner-slider .slider-nav.next { right: 5px; }
    
    /* Ensure existing mobile top bar styles aren't overwritten */
    .header { background: #ffffff !important; }
}

@media (max-width: 480px) {
    .middle-banner-slider .slider-container {
        min-height: auto !important;
    }
    .middle-banner-slider .slider-img {
        min-height: auto !important;
    }
    .middle-banner-slider .slider-title {
        font-size: 1.5rem;
    }
}
