
/* --------------------------------------------------------------------------
   Stores Grid Layout
   -------------------------------------------------------------------------- */
.near_mart_store .all_store_holder {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 576px) and (max-width: 3840px) {
  .near_mart_store .all_store_holder {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) and (max-width: 3840px) {
  .near_mart_store .all_store_holder {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Store Card Design
   -------------------------------------------------------------------------- */
.near_mart_store .store_div {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.near_mart_store .store_div:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

/* Image Container */
.near_mart_store .img_holder {
  width: 100%;
  height: 160px;
  background-color: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.near_mart_store .store_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.near_mart_store .store_div:hover .store_img {
  transform: scale(1.04);
}

/* Title & Rating Badge */
.near_mart_store .title_holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.near_mart_store .title_text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.near_mart_store .rating_text {
  background: #16a34a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.near_mart_store .star_icon {
  font-size: 10px;
}

/* Delivery Time & Distance Tag */
.near_mart_store .away_text {
  font-size: 13px;
  font-weight: 600;
  color: #0f3768;
  background-color: #eff6ff;
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  margin: 0 0 10px 0;
}

/* Location Line */
.near_mart_store .location {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.near_mart_store .location_icon {
  color: #e65100;
  font-size: 13px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Empty State Card
   -------------------------------------------------------------------------- */
.near_mart_store .no-products-found {
  grid-column: 1 / -1;
  background: #ffffff;
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed #cbd5e1;
}

.near_mart_store .no-products-found h4 {
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}