/* Restaurants index — discover hero + overlapping search + cards (Bizzspot / landing alignment) */

.bz-restaurants-page--discover {
  --bz-ri-green: #146332;
  --bz-ri-green-soft: #e8f4ec;
  --bz-ri-text: #111111;
  --bz-ri-muted: #5c5c5c;
  --bz-ri-border: #e8e8e8;
  --bz-ri-strip: #f8f8f8;
  background: #fff !important;
  min-height: auto;
  padding-bottom: 0;
}

.bz-rest-hero-discover {
  position: relative;
  padding: 2.5rem 0 5.5rem;
  background: #fff;
}

@media (min-width: 992px) {
  .bz-rest-hero-discover {
    padding: 3rem 0 6.5rem;
  }
}

.bz-rest-hero-discover-row {
  margin-bottom: 0;
}

.bz-rest-hero-discover h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--bz-ri-text);
  margin-bottom: 1rem;
}

.bz-rest-hero-discover .bz-rest-hero-accent {
  color: var(--bz-ri-green);
}

.bz-rest-hero-discover .bz-rest-hero-lead {
  font-size: 1.05rem;
  color: var(--bz-ri-muted);
  max-width: 26rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.bz-rest-hero-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f6faf7 100%);
  min-height: 220px;
}

@media (min-width: 992px) {
  .bz-rest-hero-photo {
    min-height: 320px;
  }
}

.bz-rest-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

@media (min-width: 992px) {
  .bz-rest-hero-photo img {
    min-height: 320px;
  }
}

.bz-rest-search-wrap {
  position: relative;
  margin-top: -3rem;
  z-index: 4;
  padding: 0 0.5rem;
}

@media (min-width: 992px) {
  .bz-rest-search-wrap {
    margin-top: -3.25rem;
  }
}

.bz-rest-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--bz-ri-border);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.1);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

.bz-rest-search-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-right: 1px solid var(--bz-ri-border);
  flex: 0 0 auto;
  min-width: 140px;
}

.bz-rest-search-loc .fa-map-marker {
  color: var(--bz-ri-green);
  font-size: 1.1rem;
}

.bz-rest-search-loc select {
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bz-ri-text);
  cursor: pointer;
  max-width: 120px;
  padding: 0.25rem 1.25rem 0.25rem 0;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.bz-rest-search-loc select:focus {
  outline: none;
}

.bz-rest-search-field {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  min-width: 0;
  position: relative;
}

.bz-rest-search-field .fa-search {
  color: #9a9a9a;
  flex-shrink: 0;
}

.bz-rest-search-field input {
  border: none;
  width: 100%;
  font-size: 0.95rem;
  min-width: 0;
}

.bz-rest-search-field input:focus {
  outline: none;
}

.bz-rest-search-clear {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: var(--bz-ri-border);
  color: var(--bz-ri-text);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bz-rest-search-clear:hover {
  background: #ddd;
}

.bz-rest-search-hint strong {
  color: var(--bz-ri-green);
  font-weight: 600;
}

.bz-rest-search-btn {
  flex: 0 0 auto;
  border: none;
  background: var(--bz-ri-green);
  color: #fff !important;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.15s ease, filter 0.15s ease;
}

.bz-rest-search-btn:hover {
  background: #0f4d28;
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .bz-rest-search-bar {
    flex-direction: column;
    border-radius: 14px;
  }

  .bz-rest-search-loc {
    border-right: none;
    border-bottom: 1px solid var(--bz-ri-border);
  }

  .bz-rest-search-btn {
    width: 100%;
    justify-content: center;
  }
}

.bz-rest-popular-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.bz-rest-popular-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bz-ri-text);
  margin: 0;
}

.bz-rest-view-all {
  font-weight: 700;
  color: var(--bz-ri-green);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bz-rest-view-all:hover {
  color: #0f4d28;
  text-decoration: none;
}

.bz-restaurant-grid-row .bz-restaurant-item {
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  .bz-rest-all-grid .bz-restaurant-item {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
}

/* Card variant for discover page */
.bz-restaurants-page--discover .bz-restaurant-card {
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(17, 17, 17, 0.08);
  border-color: var(--bz-ri-border);
}

.bz-restaurants-page--discover .bz-restaurant-media {
  position: relative;
}

.bz-restaurants-page--discover .bz-restaurant-media img {
  height: 160px;
  border-radius: 12px 12px 0 0;
}

.bz-restaurants-page--discover .bz-rest-rating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--bz-ri-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(20, 99, 50, 0.35);
}

.bz-restaurants-page--discover .bz-restaurant-media-overlay {
  display: none;
}

.bz-restaurants-page--discover .bz-restaurant-content {
  padding: 0.9rem 1rem 1rem;
  min-height: 0;
}

.bz-restaurants-page--discover .bz-restaurant-head-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.bz-restaurants-page--discover .bz-restaurant-logo-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bz-restaurants-page--discover .bz-restaurant-title-wrap h5 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.bz-restaurants-page--discover .bz-restaurant-cuisine {
  font-size: 0.78rem;
  color: var(--bz-ri-muted);
  line-height: 1.3;
}

.bz-restaurants-page--discover .bz-restaurant-tagline,
.bz-restaurants-page--discover .bz-restaurant-chips,
.bz-restaurants-page--discover .bz-restaurant-address,
.bz-restaurants-page--discover .bz-restaurant-footer {
  display: none;
}

.bz-restaurants-page--discover .bz-restaurant-delivery-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--bz-ri-border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bz-ri-green);
}

.bz-restaurants-page--discover .bz-restaurant-delivery-row .fa {
  font-size: 0.9rem;
}

.bz-restaurants-page--discover .bz-restaurant-delivery-row.is-muted {
  color: var(--bz-ri-muted);
  font-weight: 600;
}

.bz-restaurants-page--discover .bz-restaurant-card a.block-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.bz-restaurants-page--discover .bz-restaurant-card a.block-link:hover .bz-restaurant-title-wrap h5 {
  color: var(--bz-ri-green);
}

.bz-rest-features-strip {
  background: var(--bz-ri-strip);
  border-top: 1px solid var(--bz-ri-border);
  padding: 2.25rem 0;
  margin-top: 2rem;
}

.bz-rest-features-strip .bz-rest-feature-col {
  text-align: center;
  padding: 0.75rem 0.5rem;
}

@media (min-width: 768px) {
  .bz-rest-features-strip .bz-rest-feature-col {
    text-align: left;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
}

.bz-rest-features-strip .bz-rest-feature-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bz-ri-green-soft);
  color: var(--bz-ri-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin: 0 auto 0.75rem;
}

@media (min-width: 768px) {
  .bz-rest-features-strip .bz-rest-feature-ico {
    margin: 0;
  }
}

.bz-rest-features-strip h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bz-ri-text);
  margin: 0 0 0.35rem;
}

.bz-rest-features-strip p {
  font-size: 0.85rem;
  color: var(--bz-ri-muted);
  margin: 0;
  line-height: 1.55;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .bz-rest-features-strip p {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

.bz-rest-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bz-rest-type-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--bz-ri-border);
  background: #fff;
  color: var(--bz-ri-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bz-rest-type-chip:hover {
  text-decoration: none;
  border-color: var(--bz-ri-green);
  color: var(--bz-ri-green);
}

.bz-rest-type-chip.is-active {
  background: var(--bz-ri-green);
  border-color: var(--bz-ri-green);
  color: #fff;
}

