 /* =====================
       VARIABLES
    ===================== */
    :root {
      --cream:       #f5f0e8;
      --cream-dark:  #ede7d9;
      --green:       #4a7c3f;
      --green-light: #6ab04c;
      --green-pale:  #eaf5e0;
      --dark:        #1a1a1a;
      --card-border: #d6d0c4;
      --text-muted:  #888;
      --white:       #ffffff;
      --red:         #e05252;
      --amber:       #d4830a;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Nunito Sans', sans-serif;
      background: var(--cream);
      color: var(--dark);
      min-height: 100vh;
    }

    /* =====================
       NAVBAR
    ===================== */
    .navbar {
      background: var(--cream);
      border-bottom: 1px solid var(--card-border);
      padding: 13px 0;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .navbar-brand img { height: 36px; }

    .navbar-nav .nav-link {
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: 0.83rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--dark);
      padding: 0 13px !important;
      transition: color 0.2s;
    }

    .navbar-nav .nav-link:hover { color: var(--green); }

    .nav-icons a {
      color: var(--dark);
      font-size: 1.05rem;
      margin-left: 14px;
      text-decoration: none;
      position: relative;
      transition: color 0.2s;
    }

    .nav-icons a:hover { color: var(--green); }

    .cart-dot {
      position: absolute;
      top: -5px; right: -6px;
      width: 14px; height: 14px;
      border-radius: 50%;
      background: var(--green-light);
      color: #fff;
      font-size: 0.55rem;
      font-weight: 900;
      display: flex; align-items: center; justify-content: center;
    }

    /* =====================
       SEARCH HERO BANNER
    ===================== */
    .search-hero {
      background: var(--cream-dark);
      border-bottom: 1px solid var(--card-border);
      padding: 36px 0 32px;
    }

    .search-hero-label {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .search-hero-title {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: clamp(1.4rem, 4vw, 2.2rem);
      color: var(--dark);
      margin-bottom: 6px;
    }

    .search-hero-title span {
      color: var(--green);
      font-style: italic;
    }

    .search-hero-count {
      font-size: 0.86rem;
      color: var(--text-muted);
      margin-bottom: 26px;
    }

    /* Search bar in hero */
    .search-bar-wrap {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      max-width: 760px;
    }

    .search-pill-wrap {
      position: relative;
      flex: 1;
      min-width: 180px;
    }

    .search-pill-wrap i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 0.95rem;
      pointer-events: none;
    }

    .search-input {
      width: 100%;
      border: 1.5px solid var(--card-border);
      border-radius: 50px;
      padding: 12px 20px 12px 42px;
      font-family: 'Nunito Sans', sans-serif;
      font-size: 0.88rem;
      background: var(--white);
      color: var(--dark);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .search-input:focus {
      border-color: var(--green-light);
      box-shadow: 0 0 0 3px rgba(106,176,76,0.14);
    }

    .btn-search {
      background: var(--dark);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 12px 28px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 0.88rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s;
      white-space: nowrap;
    }

    .btn-search:hover { background: var(--green); }

    /* =====================
       BREADCRUMB
    ===================== */
    .breadcrumb-wrap { padding: 18px 0 0; }

    .breadcrumb {
      font-size: 0.78rem;
      background: none;
      padding: 0;
      margin: 0;
    }

    .breadcrumb-item a {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 600;
    }

    .breadcrumb-item a:hover { color: var(--green); }
    .breadcrumb-item.active  { color: var(--dark); font-weight: 700; }
    .breadcrumb-item + .breadcrumb-item::before { color: var(--card-border); }

    /* =====================
       TABS
    ===================== */
    .result-tabs {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin: 28px 0 24px;
    }

    .tab-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      border: 1.5px solid var(--card-border);
      border-radius: 50px;
      background: var(--white);
      color: var(--dark);
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: 0.82rem;
      padding: 8px 18px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .tab-btn .tab-count {
      background: var(--cream-dark);
      border-radius: 50px;
      padding: 1px 8px;
      font-size: 0.72rem;
      font-weight: 800;
    }

    .tab-btn.active,
    .tab-btn:hover {
      background: var(--dark);
      color: var(--white);
      border-color: var(--dark);
    }

    .tab-btn.active .tab-count,
    .tab-btn:hover .tab-count {
      background: rgba(255,255,255,0.20);
      color: var(--white);
    }

    /* =====================
       SECTION HEADING
    ===================== */
    .section-heading {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 1.1rem;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 0.01em;
    }

    .section-heading .count-chip {
      background: var(--green-pale);
      color: var(--green);
      font-size: 0.72rem;
      font-weight: 800;
      border-radius: 50px;
      padding: 3px 10px;
    }

    /* =====================
       PRODUCT CARDS
    ===================== */
    .product-card {
      background: var(--white);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
      overflow: hidden;
      height: 100%;
      transition: box-shadow 0.2s, transform 0.2s;
      display: flex;
      flex-direction: column;
    }

    .product-card:hover {
      box-shadow: 0 10px 32px rgba(0,0,0,0.09);
      transform: translateY(-4px);
    }

    /* Image area */
    .product-img {
      width: 100%;
      aspect-ratio: 1 / 1;
      background: var(--cream-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
      position: relative;
      overflow: hidden;
    }

    /* If actual <img> tag exists */
    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Discount badge */
    .product-img .discount-tag {
      position: absolute;
      top: 10px;
      left: 10px;
      background: #fff3cd;
      color: #856404;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 0.68rem;
      border-radius: 50px;
      padding: 3px 10px;
    }

    /* Wishlist button */
    .product-img .wish-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255,255,255,0.85);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      cursor: pointer;
      color: var(--text-muted);
      transition: color 0.2s, background 0.2s;
      backdrop-filter: blur(4px);
    }

    .product-img .wish-btn:hover { color: var(--red); background: var(--white); }

    /* Card body */
    .product-body {
      padding: 14px 16px 16px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .product-nursery {
      font-size: 0.72rem;
      color: var(--green);
      font-weight: 700;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .product-name {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 0.95rem;
      margin-bottom: 6px;
      color: var(--dark);
    }

    /* Keyword highlight */
    .product-name mark {
      background: #fff3cd;
      color: var(--dark);
      border-radius: 3px;
      padding: 0 2px;
    }

    .product-city {
      font-size: 0.74rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 4px;
      margin-bottom: 10px;
    }

    .product-price-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: auto;
      margin-bottom: 12px;
    }

    .product-price {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 1.1rem;
      color: var(--dark);
    }

    .product-price-old {
      font-size: 0.80rem;
      color: var(--text-muted);
      text-decoration: line-through;
    }

    .product-card-actions {
      display: flex;
      gap: 8px;
    }

    .btn-add-cart {
      flex: 1;
      background: var(--dark);
      color: var(--white);
      border: none;
      border-radius: 8px;
      padding: 9px 0;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 0.78rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: background 0.2s;
    }

    .btn-add-cart:hover { background: var(--green); }

    .btn-view-product {
      background: var(--white);
      color: var(--dark);
      border: 1.5px solid var(--card-border);
      border-radius: 8px;
      padding: 9px 14px;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: 0.78rem;
      cursor: pointer;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: background 0.2s, border-color 0.2s;
      white-space: nowrap;
    }

    .btn-view-product:hover {
      background: var(--cream);
      border-color: var(--dark);
      color: var(--dark);
    }

    /* =====================
       SHOP / NURSERY CARDS
    ===================== */
    .shop-card {
      background: var(--white);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: box-shadow 0.2s, transform 0.2s;
    }

    .shop-card:hover {
      box-shadow: 0 10px 32px rgba(0,0,0,0.09);
      transform: translateY(-4px);
    }

    .shop-img {
      width: 100%;
      height: 130px;
      background: linear-gradient(135deg, var(--cream-dark) 0%, #ddd6c8 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3.5rem;
      position: relative;
    }

    .shop-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Status badge on shop */
    .shop-status-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: var(--green-pale);
      color: var(--green);
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 0.65rem;
      border-radius: 50px;
      padding: 3px 10px;
      border: 1px solid var(--green-light);
    }

    .shop-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

    .shop-name {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .shop-name mark {
      background: #fff3cd;
      color: var(--dark);
      border-radius: 3px;
      padding: 0 2px;
    }

    .shop-address {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      align-items: flex-start;
      gap: 5px;
      margin-bottom: 12px;
      line-height: 1.5;
    }

    .shop-address i { margin-top: 2px; flex-shrink: 0; color: var(--green); }

    .shop-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 14px;
    }

    .shop-tag {
      background: var(--cream);
      border: 1px solid var(--card-border);
      border-radius: 50px;
      font-size: 0.70rem;
      font-weight: 700;
      padding: 3px 10px;
      color: var(--dark);
    }

    .shop-footer {
      display: flex;
      gap: 8px;
      margin-top: auto;
    }

    .btn-shop-details {
      flex: 1;
      background: var(--dark);
      color: var(--white);
      border: none;
      border-radius: 8px;
      padding: 10px 0;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 0.80rem;
      text-decoration: none;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-shop-details:hover { background: var(--green); color: var(--white); }

    .btn-shop-map {
      background: var(--white);
      color: var(--dark);
      border: 1.5px solid var(--card-border);
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 0.88rem;
      cursor: pointer;
      transition: background 0.2s;
      display: flex;
      align-items: center;
    }

    .btn-shop-map:hover { background: var(--cream); }

    /* =====================
       EMPTY STATE
    ===================== */
    .empty-state {
      text-align: center;
      padding: 60px 24px;
      background: var(--white);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
    }

    .empty-icon {
      font-size: 3.5rem;
      margin-bottom: 16px;
      display: block;
    }

    .empty-title {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 1.1rem;
      margin-bottom: 8px;
    }

    .empty-text {
      font-size: 0.86rem;
      color: var(--text-muted);
      max-width: 300px;
      margin: 0 auto 20px;
      line-height: 1.7;
    }

    .btn-clear-search {
      background: var(--dark);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 10px 24px;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: 0.84rem;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s;
    }

    .btn-clear-search:hover { background: var(--green); color: var(--white); }

    /* =====================
       NO RESULTS — FULL PAGE
    ===================== */
    .no-results-wrap {
      text-align: center;
      padding: 80px 24px;
    }

    .no-results-emoji { font-size: 5rem; margin-bottom: 20px; display: block; }

    .no-results-title {
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 1.6rem;
      margin-bottom: 10px;
    }

    .no-results-subtitle {
      font-size: 0.92rem;
      color: var(--text-muted);
      margin-bottom: 28px;
      line-height: 1.7;
    }

    /* =====================
       DIVIDER BETWEEN SECTIONS
    ===================== */
    .section-divider {
      border: none;
      border-top: 1px solid var(--card-border);
      margin: 40px 0;
    }

    /* =====================
       PAGINATION (optional)
    ===================== */
    .results-count-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 18px;
    }

    .sort-select {
      border: 1.5px solid var(--card-border);
      border-radius: 8px;
      padding: 7px 12px;
      font-family: 'Nunito Sans', sans-serif;
      font-size: 0.82rem;
      background: var(--white);
      outline: none;
      cursor: pointer;
    }

    /* =====================
       RESPONSIVE
    ===================== */
    @media (max-width: 767px) {
      .search-bar-wrap { gap: 8px; }
      .search-pill-wrap { flex: 1 1 100%; }
      .btn-search { width: 100%; justify-content: center; }
    }

    @media (max-width: 575px) {
      .result-tabs { gap: 4px; }
      .tab-btn { font-size: 0.78rem; padding: 7px 14px; }
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /* =====================
   APPEND THIS TO THE BOTTOM OF search-style.css
===================== */

/* Fuzzy mode notice in search hero */
.fuzzy-notice {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Fuzzy banner bar above results */
.fuzzy-banner {
  background: #fffbea;
  border: 1.5px solid #f0d060;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #7a5800;
  margin: 24px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fuzzy-banner i { font-size: 1rem; }

.fuzzy-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fuzzy-link:hover { color: var(--green-light); }

/* Suggestion chips in zero-results state */
.suggestion-chip {
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.2s;
}

.suggestion-chip:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}