:root {
        --color-main: #eb7825;
        /* Orange */
        --color-accent: #eb7825;
        /* Blue */
        --color-main-darker: #d36a1f;
        /* Slightly darker orange for hover */
        --color-accent-darker: #eb7825;
        /* Slightly darker blue for hover */
      }
  /* Collapsed by default */
        #collapsible-search.collapsed {
            max-height: 60px;
            padding-top: 0;
            padding-bottom: 0;
        }

        /* Expand with animation */
        #collapsible-search.expanded {
            max-height: 300px;
        }

        /* Points dropdown styles */
        .points-dropdown .transition-all {
            transition-property: opacity, visibility, transform;
            transition-duration: 200ms;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Ensure proper z-index for dropdowns */
        .points-dropdown {
            position: relative;
            z-index: 50;
        }

        .mega-dropdown a:hover {
            background: rgba(235, 120, 37, 0.1);
            color: #eb7825;
        }

        .mega-menu-item > a:hover {
            background: rgba(235, 120, 37, 0.1);
            color: #eb7825;
        }

        /* Add this to your existing style section */
        header.bg-white.shadow-lg.sticky {
            z-index: 60; /* Ensure header stays above mega menu */
        }

      a {
        text-decoration: none !important;
      }
      .scrollbar-hide a:hover,
      .scrollbar-hide a:active {
        color: #eb7825 !important;
      }

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  /* pill */
  font-size: 0.75rem;
  /* 12px */
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge-open {
  background-color: #dcfce7;
  /* Tailwind green-100 */
  color: #166534;
  /* Tailwind green-800 */
}

.status-badge-closed {
  background-color: #fee2e2;
  /* Tailwind red-100 */
  color: #991b1b;
  /* Tailwind red-800 */
}

.award-badge-listing {
  /* Different from city page for context */
  background-color: var(--color-main);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
}

.filter-button.active {
  background-color: var(--color-main);
  color: white;
  border-color: var(--color-main);
}

.scroll-to-top {
  position: fixed;
  bottom: 24px; /* or 1.5rem */
  right: 24px;
  background-color: #eb7825; /* main color */
  color: white;
  padding: 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.2s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #b45c1d; /* darker main color */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}


/* Custom Select2 Styling */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0;
    background: white;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #374151;
    line-height: 42px;
    padding-left: 12px;
    padding-right: 32px;
    font-size: 0.875rem;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
    width: 20px;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #6b7280 transparent;
    border-width: 0 4px 5px 4px;
}

/* Focus states */
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Dropdown styling */
.select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 2px;
}

.select2-results__option {
    padding: 12px;
    font-size: 0.875rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.select2-results__option:last-child {
    border-bottom: none;
}

.select2-results__option--highlighted {
    background-color: #eff6ff;
    color: #1e40af;
}

.select2-results__option--selected {
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 500;
}

.select2-results__option .option-icon {
    margin-right: 8px;
    width: 16px;
    color: #6b7280;
}

.select2-results__option--highlighted .option-icon {
    color: #3b82f6;
}

.select2-results__option .option-text {
    flex: 1;
}

.select2-results__option .option-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
}

.select2-results__option .option-count {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 9999px;
    margin-left: 8px;
}

/* Search input */
.select2-search--dropdown .select2-search__field {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 8px 12px;
    font-size: 0.875rem;
    margin:0px;
    width: calc(100% - 16px);
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading state */
.select2-results__message {
    padding: 12px;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Clear button */
.select2-selection__clear {
    color: #6b7280;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.select2-selection__clear:hover {
    color: #374151;
}

/* Business Profile Page Css Start */
.detail-hero-image {
        min-height: 50vh;
        height: auto;
        position: relative;
        background-size: cover;
        background-position: center;
        padding-bottom: 2rem;
        display: inline-flex;
        width: 100%;
        align-items: flex-end;
      }
      .detail-hero-image:after {
        background: linear-gradient(180deg, #0000 -13.58%, #000);
        bottom: 0;
        content: "";
        left: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
      }
      .detail-hero-image .business-name {
        font-size: 48px;
        font-weight: 900;
        letter-spacing: -0.4px;
      }
      .ribbon {
        width: 135px;
        height: 135px;
        overflow: hidden;
        position: absolute;
      }
      .ribbon::before,
      .ribbon::after {
        position: absolute;
        z-index: -1;
        content: "";
        display: block;
        border: 5px solid #eb7825;
      }
      .ribbon span {
        position: absolute;
        display: block;
        width: 225px;
        padding: 15px 0;
        background-color: #eb7825;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        color: #fff;
        font: 700 11px/1 "Lato", sans-serif;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        text-transform: uppercase;
        text-align: center;
      }
      /* top right*/
      .ribbon-top-right {
        top: -10px;
        right: -10px;
      }
      .ribbon-top-right::before,
      .ribbon-top-right::after {
        border-top-color: transparent;
        border-right-color: transparent;
      }
      .ribbon-top-right::before {
        top: 0;
        left: 9px;
      }
      .ribbon-top-right::after {
        bottom: 9px;
        right: 0;
      }
      .ribbon-top-right span {
        left: -25px;
        top: 30px;
        transform: rotate(45deg);
      }
      i.far.fa-star {
        background: #ffffff3d;
        padding: 4px;
      }
      .cta-button {
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        display: inline-block;
      }
      .cta-button:hover {
        color: #fff !important;
      }
      .text-main-on-light {
        background: #eb7825;
        color: #fff;
        padding: 3px 10px;
      }
      .detail-hero-image a.bg-accent {
        background: #eb7825;
        text-decoration: none;
        padding: 12px 10px !important;
        font-weight: 700;
        font-size: 16px;
        display: inline-block;
        margin-top: 20px;
      }

   .section-title {
        border-bottom: 2px solid var(--color-main);
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
        font-size: 1.875rem;
        font-weight: 700;
        color: #1f2937;
    }

    .coupon-card-detail {
        border: 1px solid #e5e7eb;
        border-left: 5px solid var(--color-accent);
    }

    .review-form textarea {
        min-height: 120px;
    }

  .gallery-grid img {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

     .gallery-grid img:hover {
        transform: scale(1.05);
        opacity: 0.8;
    }

     .media-embed-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
        border-radius: 0.5rem;
    }

    .media-embed-container iframe,
    .media-embed-container video,
    .media-embed-container audio {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0.5rem;
    }

     .audio-player-container {
        height: auto;
        padding-bottom: 0;
        min-height: 60px;
    }

    .award-badge-detail {
        background-color: var(--color-main);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
    }

    .award-badge-detail i {
        margin-right: 0.375rem;
    }

    /* Sticky Subnav / Micro Menu */
    .sticky-subnav {
        position: sticky;
        top: 80px;
        z-index: 40;
        transition: box-shadow 0.3s ease-in-out;
    }

    .sticky-subnav.scrolled {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .sticky-subnav .subnav-link.active {
        border-bottom-color: var(--color-main);
        color: var(--color-main);
        font-weight: 600;
    }

    /* Featured Coupon in Hero */
    .hero-featured-coupon {
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        border-left: 4px solid var(--color-accent);
        position: relative;
    }

    /* Scroll margin for anchor links */
    section[id] {
        scroll-margin-top: 150px;
    }

    /* Modal Styles */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: none;
        z-index: 9999;
        backdrop-filter: blur(5px);
    }

    .modal-container {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    /* Close Button */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10001;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

     .close-btn:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }

    /* Image Counter */
  .image-counter {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10001;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 10px 15px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
    }

    /* Navigation Arrows (Desktop) */
     .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

   .nav-arrow:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: translateY(-50%) scale(1.1);
    }

   .nav-arrow-left {
        left: 30px;
    }

  .nav-arrow-right {
        right: 30px;
    }

    /* Image Container */
    .image-container {
        max-width: 90%;
        max-height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    /* Touch gestures for mobile */
    .image-container {
        touch-action: pan-y;
    }
    .modal-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: opacity 0.3s ease;
    }

    /* Mobile Navigation */
   .mobile-nav {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10001;
        display: none;
        gap: 20px;
    }

    .mobile-nav-btn {
        background: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

     .mobile-nav-btn:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }
    /* .map-container {
        width: 100%;
        height: 500px;
        margin: 20px 0;
        padding: 25px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    } */

    /* #google-map {
        width: 100%;
        height: 100%;
    } */

      /* Touch gestures for mobile */
      .image-container {
        touch-action: pan-y;
      }
      .business-content-area .contact-details {
        width: 100%;
        color: #0b2c3d;
      }
      .business-content-area .contact-details:hover {
        color: #eb7825;
      }
      .business-content-area .contact-details > i {
        float: right;
      }
      .business-content-area h3 > i {
        width: 40px;
        height: 40px;
        line-height: 2 !important;
        text-align: center;
      }
      .business-content-area .social-share-box a i,
      .business-content-area .social-share-box button i {
        color: #0b2c3d;
        background: transparent !important;
        font-size: 19px;
      }
      .business-content-area .social-share-box a:hover i,
      .business-content-area .social-share-box button:hover i {
        color: #eb7825 !important;
      }
      .business-content-area .social-share-box {
        margin-top: 45px;
      }
             /* Prevent body scroll when mobile search is open */
              body.mobile-search-open {
                overflow: hidden;
              }
                 /* Simple styling for search form */
      .search-container {
        position: relative;
      }
      .search-input-group input:focus,
      .search-input-group select:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
      }
      .search-input-group .icon {
        z-index: 10;
      }
       .mega-menu-wrapper {
          position: relative;
        }
.sticky-subnav .subnav-link {
          border-bottom: 4px solid transparent;
          text-decoration: none;
        }
        .sticky-subnav .subnav-link:hover,
        .sticky-subnav .subnav-link.active {
          border-bottom: 4px solid #eb7825;
        }
        .circle-icon {
          color: #fff;
          padding: 1px 0px;
          font-size: 17px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 35px;
          height: 35px;
        }
        ul.features-items {
          gap: 15px 40px;
          align-items: center;
          font-size: 16px;
          font-weight: 500;
        }
/* Business Profile Page Css End */
/* Mobile responsiveness */
    @media (min-width: 1024px) {
                .select2-container {
                  height: 48px !important;
                }
                .select2-container .select2-selection--single {
                  height: 48px !important;
                  border: none !important;
                  outline: none !important;
                  box-shadow: none !important;
                  background: transparent !important;
                }
                .select2-container--default
                  .select2-selection--single
                  .select2-selection__rendered {
                  line-height: normal !important;
                  padding-left: 40px !important;
                  padding-right: 24px !important;
                  color: #374151 !important;
                  font-size: 14px !important;
                  display: flex !important;
                  align-items: center !important;
                  height: 48px !important;
                  overflow: hidden !important;
                  text-overflow: ellipsis !important;
                  white-space: nowrap !important;
                }
                .select2-container--default
                  .select2-selection--single
                  .select2-selection__arrow {
                  height: 48px !important;
                  right: 8px !important;
                  display: flex !important;
                  align-items: center !important;
                }
                .select2-container--default
                  .select2-selection--single
                  .select2-selection__arrow
                  b {
                  border-color: #6b7280 transparent transparent transparent !important;
                  margin-top: 0 !important;
                }
                .select2-container--default.select2-container--open
                  .select2-selection--single
                  .select2-selection__arrow
                  b {
                  border-color: transparent transparent #6b7280 transparent !important;
                  margin-top: 0 !important;
                }
                .select2-container--default .select2-selection--single:focus {
                  outline: none !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted[aria-selected],
                .select2-container--default
                  .select2-results__option--highlighted {
                  background-color: #eb7825 !important;
                  color: white !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  *,
                .select2-container--default
                  .select2-results__option--highlighted[aria-selected]
                  * {
                  color: white !important;
                }
                .select2-container--default
                  .select2-selection--single
                  .select2-selection__clear {
                  position: absolute !important;
                  left: 12px !important;
                  right: auto !important;
                  top: 50% !important;
                  transform: translateY(-50%) !important;
                  width: 16px !important;
                  height: 16px !important;
                  background: #6b7280 !important;
                  border-radius: 50% !important;
                  color: white !important;
                  font-size: 12px !important;
                  line-height: 16px !important;
                  text-align: center !important;
                  z-index: 10 !important;
                  cursor: pointer !important;
                }
                .select2-container--default
                  .select2-selection--single
                  .select2-selection__clear:hover {
                  background: #eb7825 !important;
                }
                .select2-container--default.select2-container--allowclear
                  .select2-selection--single
                  .select2-selection__clear {
                  display: block !important;
                }
                .select2-dropdown {
                  border: 1px solid #d1d5db !important;
                  border-radius: 0.125rem !important;
                  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                    0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
                  margin-top: 4px !important;
                }
                .select2-container--default
                  .select2-search--dropdown
                  .select2-search__field {
                  border: 1px solid #d1d5db !important;
                  border-radius: 0.125rem !important;
                  padding: 0.5rem !important;
                }
                .business-select + .select2-container,
                .location-select + .select2-container {
                  width: 100% !important;
                }
                .search-group {
                  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
                    0 1px 2px 0 rgba(0, 0, 0, 0.06);
                }
                .search-group:hover {
                  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                    0 2px 4px -1px rgba(0, 0, 0, 0.06);
                }
                .select2-results__option {
                  padding: 8px 12px !important;
                }
                .select2-results__option .business-result {
                  display: flex;
                  align-items: center;
                  gap: 8px;
                }
                .select2-results__option .business-result .icon {
                  width: 16px;
                  text-align: center;
                  color: #6b7280;
                }
                .select2-results__option .business-result .content {
                  flex: 1;
                }
                .select2-results__option .business-result .title {
                  font-weight: 500;
                  color: #374151;
                }
                .select2-results__option .business-result .subtitle {
                  font-size: 12px;
                  color: #6b7280;
                  margin-top: 2px;
                }
                .business-select + .select2-container {
                  width: 350px !important;
                  min-width: 300px !important;
                  max-width: 300px !important;
                }
                .location-select + .select2-container {
                  width: 350px !important;
                  min-width: 300px !important;
                  max-width: 300px !important;
                }
                .select2-container--default
                  .select2-search--dropdown
                  .select2-search__field:focus {
                  border-color: #eb7825 !important;
                  box-shadow: 0 0 0 2px rgba(235, 120, 37, 0.4) !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  .business-result
                  .title {
                  color: white !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  .business-result
                  .subtitle {
                  color: rgba(255, 255, 255, 0.9) !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  .business-result
                  .icon {
                  color: white !important;
                }
              }
               @media (min-width: 769px) {
          .mega-dropdown {
            display: none;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0.5rem 1rem;
            padding: 1rem;
            min-width: 350px;
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 0;
          }
          .mega-menu-item:hover .mega-dropdown {
            display: grid;
          }
          .mega-dropdown a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
          }
          .mega-dropdown.right-align {
            left: auto;
            right: 0;
          }
          .mega-menu a {
            white-space: nowrap;
          }
          /* Hide mobile elements on desktop */
          .mobile-only {
            display: none !important;
          }
        }     
        @media (max-width: 1024px) {
            .mega-menu-container {
                display: none !important;
            }
        }
          /* Mobile Styles */
              @media (max-width: 1023px) {
                /* Mobile overlay styling */
                #mobile-search-overlay {
                  transform: translateY(100%);
                  transition: transform 0.3s ease-in-out;
                }
                #mobile-search-overlay.show {
                  transform: translateY(0);
                }
                /* Mobile Select2 overrides */
                .business-select-mobile + .select2-container,
                .location-select-mobile + .select2-container {
                  width: 100% !important;
                }
                .business-select-mobile
                  + .select2-container
                  .select2-selection--single,
                .location-select-mobile
                  + .select2-container
                  .select2-selection--single {
                  height: 48px !important;
                  border: 1px solid #d1d5db !important;
                  border-radius: 0.5rem !important;
                  background: white !important;
                }
                .business-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__rendered,
                .location-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__rendered {
                  line-height: 48px !important;
                  padding-left: 16px !important;
                  padding-right: 32px !important;
                  color: #374151 !important;
                  font-size: 16px !important;
                  height: 48px !important;
                }
                .business-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__arrow,
                .location-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__arrow {
                  height: 48px !important;
                  right: 12px !important;
                }
                /* Mobile dropdown */
                .select2-dropdown {
                  border: 1px solid #d1d5db !important;
                  border-radius: 0.5rem !important;
                  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                    0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
                  margin-top: 8px !important;
                  z-index: 9999 !important;
                }
                .select2-container--default
                  .select2-search--dropdown
                  .select2-search__field {
                  border: 1px solid #d1d5db !important;
                  border-radius: 0.375rem !important;
                  padding: 12px !important;
                  font-size: 16px !important;
                }
                .select2-results__option {
                  padding: 16px !important;
                  min-height: 56px !important;
                  font-size: 16px !important;
                }
                .select2-results__option .business-result {
                  display: flex;
                  align-items: center;
                  gap: 12px;
                }
                .select2-results__option .business-result .icon {
                  width: 20px;
                  font-size: 16px;
                  color: #6b7280;
                }
                .select2-results__option .business-result .content {
                  flex: 1;
                }
                .select2-results__option .business-result .title {
                  font-weight: 500;
                  color: #374151;
                  font-size: 16px;
                  line-height: 1.4;
                }
                .select2-results__option .business-result .subtitle {
                  font-size: 14px;
                  color: #6b7280;
                  margin-top: 4px;
                }
                /* Highlighted options */
                .select2-container--default
                  .select2-results__option--highlighted[aria-selected],
                .select2-container--default
                  .select2-results__option--highlighted {
                  background-color: #eb7825 !important;
                  color: white !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  .business-result
                  .title {
                  color: white !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  .business-result
                  .subtitle {
                  color: rgba(255, 255, 255, 0.9) !important;
                }
                .select2-container--default
                  .select2-results__option--highlighted
                  .business-result
                  .icon {
                  color: white !important;
                }
                /* Mobile clear buttons */
                #clear-business-mobile,
                #clear-location-mobile {
                  z-index: 20;
                  font-size: 14px;
                  line-height: 1;
                  font-weight: bold;
                  border: none;
                  cursor: pointer;
                }
                #clear-business-mobile:hover,
                #clear-location-mobile:hover {
                  background-color: #eb7825 !important;
                }
                /* Adjust padding for mobile inputs to accommodate clear buttons */
                .business-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__rendered,
                .location-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__rendered {
                  padding-right: 36px !important;
                }
                /* Hide Select2 arrows and ensure proper positioning */
                .business-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__arrow,
                .location-select-mobile
                  + .select2-container
                  .select2-selection--single
                  .select2-selection__arrow {
                  display: none !important;
                }
                /* Ensure Select2 selection has proper z-index */
                .business-select-mobile + .select2-container,
                .location-select-mobile + .select2-container {
                  z-index: 1;
                }
                /* Focus states */
                .business-select-mobile
                  + .select2-container.select2-container--focus
                  .select2-selection--single,
                .location-select-mobile
                  + .select2-container.select2-container--focus
                  .select2-selection--single {
                  border-color: #eb7825 !important;
                  box-shadow: 0 0 0 3px rgba(235, 120, 37, 0.1) !important;
                }
              }
    /* Gallery Grid Responsive */
    @media (min-width: 640px) {
        .business-content-area .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
@media (max-width: 768px) {
        .nav-arrow {
          display: none;
        }
        .mobile-nav {
          display: flex;
        }
        .modal-container {
          padding: 10px;
        }
        .close-btn {
          width: 45px;
          height: 45px;
          font-size: 18px;
          top: 15px;
          right: 15px;
        }
        .image-counter {
          top: 15px;
          left: 15px;
          padding: 8px 12px;
          font-size: 12px;
        }
        .image-container {
          max-width: 95%;
          max-height: 85%;
        }
        .business-content-area ul.features-items {
          gap: 15px 15px;
        }
        .business-content-area a.full-btn {
          width: 100% !important;
        }
        nav.sticky-subnav {
          padding: 20px 0 0 0 !important;
        }
        /* Hide desktop menu on mobile */
          .desktop-only {
            display: none !important;
          }
          /* Mobile mega menu container */
          .mobile-mega-menu {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            background: white;
            border-bottom: 1px solid #e5e7eb;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            transition: transform 0.3s ease-in-out;
            position: sticky;
            top: 5rem; /* Below header */
            z-index: 40;
          }
          .mobile-mega-menu::-webkit-scrollbar {
            display: none;
          }
          /* Hide mega menu when scrolling down */
          .mobile-mega-menu.hide-on-scroll {
            transform: translateY(-100%);
          }
          /* Mobile category icons */
          .mobile-categories {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-shrink: 0;
          }
          .mobile-category-icon {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            padding: 0.5rem;
            border-radius: 0.5rem;
            transition: all 0.2s ease;
            text-decoration: none;
            color: #374151;
            min-width: 60px;
          }
          .mobile-category-icon:hover {
            background-color: #f3f4f6;
            color: #eb7825;
          }
          .mobile-category-icon i {
            font-size: 1.25rem;
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
          }
          .mobile-category-icon:hover i {
            background: #eb7825;
            color: white;
          }
          .mobile-category-icon span {
            font-size: 0.75rem;
            font-weight: 500;
            text-align: center;
            line-height: 1.2;
          }
          /* More/All categories button */
          .mobile-more-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            padding: 0.5rem;
            border-radius: 0.5rem;
            transition: all 0.2s ease;
            text-decoration: none;
            color: #6b7280;
            min-width: 60px;
            flex-shrink: 0;
            border: 1px solid #e5e7eb;
            background: white;
          }
          .mobile-more-btn:hover {
            background-color: #eb7825;
            color: white;
            border-color: #eb7825;
          }
          .mobile-more-btn i {
            font-size: 1.1rem;
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
          }
          .mobile-more-btn:hover i {
            background: white;
            color: #eb7825;
          }
          .mobile-more-btn span {
            font-size: 0.75rem;
            font-weight: 500;
            text-align: center;
          }
          /* Mobile dropdown overlay */
          .mobile-dropdown-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 100;
            display: none;
          }
          .mobile-dropdown-content {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 1rem 1rem 0 0;
            padding: 1.5rem;
            max-height: 70vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.3s ease;
          }
          .mobile-dropdown-overlay.show .mobile-dropdown-content {
            transform: translateY(0);
          }
          .mobile-dropdown-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e5e7eb;
          }
          .mobile-dropdown-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #111827;
          }
          .mobile-dropdown-close {
            padding: 0.5rem;
            background: #f3f4f6;
            border-radius: 0.5rem;
            border: none;
            color: #6b7280;
            cursor: pointer;
          }
          .mobile-categories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
          }
          .mobile-category-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.75rem;
            transition: all 0.2s ease;
            text-decoration: none;
            color: #374151;
          }
          .mobile-category-card:hover {
            border-color: #eb7825;
            background: #fef7f0;
            color: #eb7825;
          }
          .mobile-category-card i {
            font-size: 1.5rem;
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 0.5rem;
            transition: all 0.2s ease;
          }
          .mobile-category-card:hover i {
            background: #eb7825;
            color: white;
          }
          .mobile-category-card span {
            font-size: 0.875rem;
            font-weight: 500;
            text-align: center;
            line-height: 1.3;
          }
      }
  @media (max-width: 767px) {
          .hero-featured-coupon {
            margin-top: 40px;
          }
          .detail-hero-image {
            padding: 45px 20px;
          }
        }
@media (max-width: 640px) {
    .select2-dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 1rem 1rem 0 0;
        max-height: 60vh;
        margin: 0;
    }
    
    .select2-results__option {
        padding: 16px;
        font-size: 1rem;
    }
    
    .select2-search--dropdown .select2-search__field {
        font-size: 1rem;
        padding: 12px;
    }
}
            /* Small mobile adjustments */
        @media (max-width: 480px) {
          .mobile-categories-grid {
            grid-template-columns: repeat(2, 1fr);
          }
          .mobile-categories {
            gap: 0.75rem;
          }
          .mobile-category-icon,
          .mobile-more-btn {
            min-width: 55px;
          }
        }
      @media (max-width: 380px) {
        .cta-button {
          font-size: 14px !important;
        }
      }
      /* Gallery Grid Responsive */
      @media (min-width: 640px) {
        .gallery-grid {
          grid-template-columns: repeat(3, 1fr);
        }
      }
      @media (min-width: 768px) {
        .gallery-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }
/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .select2-container .select2-selection--single {
        background: #1f2937;
        border-color: #374151;
    }
    
    .select2-container .select2-selection--single .select2-selection__rendered {
        color: #f9fafb;
    }
    
    .select2-dropdown {
        background: #1f2937;
        border-color: #374151;
    }
    
    .select2-results__option {
        color: #f9fafb;
        border-color: #374151;
    }
    
    .select2-results__option--highlighted {
        background-color: #374151;
    }
}

/* Animation for smooth opening */
.select2-dropdown {
    animation: dropdownSlideIn 0.2s ease-out;
}

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

/* Custom styling for different select types */
.select2-location .select2-selection--single {
    border-left: 3px solid #10b981;
}

.select2-category .select2-selection--single {
    border-left: 3px solid #8b5cf6;
}

/* Enhanced visual feedback */
.select2-container--open .select2-selection--single {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-dropdown {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}