/* Two column layout for listings page */
.page-layout {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.sidebar-col {
  width: 260px;
  flex-shrink: 0;
}

.main-col {
  flex: 1;
}

/* Breadcrumb */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breadcrumb a {
  color: var(--dark);
  font-weight: 500;
}

/* Sort Bar */
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sort-pills {
  display: flex;
  gap: 10px;
}

.sort-pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--mid);
  transition: all 0.2s;
}

.sort-pill.active, .sort-pill:hover {
  background: var(--yp);
  border-color: var(--yp);
  color: var(--dark);
  font-weight: 600;
}

/* Ad Strip */
.ad-strip {
  background: var(--yp-light);
  border: 1px solid var(--yp);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.ad-badge {
  background: var(--yp);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Listing Card */
.listing-item {
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 15px;
  margin-bottom: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
  animation: fadeUp 0.4s ease forwards;
  opacity: 0;
}

.listing-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.listing-item.featured {
  border-left: 4px solid var(--yp);
  background: var(--yp-xlight);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* LEFT: Icon */
.item-left {
  position: relative;
}

.icon-box {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border-radius: var(--radius-lg);
}

.verified-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid #fff;
}

/* MIDDLE: Info */
.biz-name {
  color: var(--green);
  font-size: 18px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-ft { background: var(--yp); font-size: 11px; padding: 2px 6px; border-radius: 4px; color: var(--dark); }
.badge-pr { background: var(--dark); font-size: 11px; padding: 2px 6px; border-radius: 4px; color: var(--yp); }
.badge-vf { border: 1px solid var(--green); color: var(--green); font-size: 11px; padding: 1px 5px; border-radius: 4px; }

.biz-cat-loc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 5px;
}

.biz-rating {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars { color: var(--yp2); letter-spacing: 2px; }
.rev-count { color: var(--muted); font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.open { background: var(--green); }
.status-dot.closed { background: var(--red); }
.status-text { font-size: 12px; font-weight: 500; }

.biz-desc {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.biz-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.biz-meta span { margin-right: 12px; }

.biz-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-pill {
  background: var(--bg);
  font-size: 12px;
  color: var(--mid);
  padding: 2px 8px;
  border-radius: 12px;
}

/* RIGHT: Actions */
.item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.btn-phone {
  background: var(--yp);
  width: 100%;
  padding: 8px;
  border-radius: var(--radius);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.btn-phone:hover {
  background: var(--yp2);
}

.phone-text {
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  letter-spacing: 1px;
}

.btn-web, .btn-details {
  background: #fff;
  border: 1px solid var(--border);
  width: 100%;
  padding: 6px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.btn-web { border-color: var(--green); color: var(--green); }
.btn-web:hover { background: var(--green-light); }

.btn-details:hover { background: var(--bg); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}

.page-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 500;
}

.page-btn.active {
  background: var(--yp);
  border-color: var(--yp);
}

.page-btn:hover:not(.active) {
  background: var(--bg);
}
