*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
}

/* ── CATEGORY HEADER ───────────────────────────────── */
.cat-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 24px 0 0;
}

.cat-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.cat-top-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  flex-shrink: 0;
}

.cat-icon-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-info h1 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cat-count {
  font-size: 14px;
  color: #666;
}

.cat-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 16px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1ca672;
  font-weight: 500;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* ── SUB-CATEGORY CHIPS ────────────────────────────── */
.chip-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.chip-bar::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  transition: all 0.15s;
  text-decoration: none;
}

.chip:hover {
  border-color: #bbb;
  background: #fafafa;
}

.chip.active {
  background: #e8380d;
  color: #fff;
  border-color: #e8380d;
}

/* ── MAIN LAYOUT ───────────────────────────────────── */
.page-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── SIDEBAR ───────────────────────────────────────── */
.sidebar {
  width: 360px;
  flex: unset;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  position: sticky;
    top: 0px;
}

.sidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-top h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.clear-all {
  font-size: 13px;
  color: #e8380d;
  cursor: pointer;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #e8380d;
  cursor: pointer;
  margin: 0px;
}

.filter-count {
  font-size: 12px;
  color: #999;
}

.stars-row {
  display: flex;
  gap: 2px;
}

.star-filled {
  color: #f59e0b;
  font-size: 14px;
}

/* budget range inputs */
.budget-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: #333;
  outline: none;
}

.budget-input:focus {
  border-color: #e8380d;
}

.budget-dash {
  color: #999;
  font-size: 13px;
}

/* ── MAIN CONTENT ──────────────────────────────────── */
.main-content {
  flex: 1;
  min-width: 0;
}

/* results bar */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 14px;
  color: #555;
}

.results-count strong {
  color: #1a1a1a;
  font-weight: 700;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 13px;
  color: #888;
}

.sort-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}

.sort-btn:hover {
  border-color: #bbb;
}

.sort-btn.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.view-toggle {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.view-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  transition: all 0.15s;
}

.view-btn.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ── SELLER CARD (List View) ────────────────────────── */
.seller-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
}

.seller-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* top accent line for promoted */
.seller-card.promoted {
  border-top: 3px solid #e8380d;
}

.card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.badge-promoted {
  background: #e8380d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-trusted {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-inner {
  padding: 20px 20px 0;
}

/* seller header row */
.seller-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-right: 120px;
}

.seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e8e8e8;
}

.seller-avatar-initial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #334155;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seller-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.seller-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.seller-name:hover {
  color: #e8380d;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.seller-tagline {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.seller-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #555;
}

.meta-item svg {
  flex-shrink: 0;
}

.rating-star {
  color: #f59e0b;
}

/* stats strip */
.stats-strip {
  display: flex;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: 14px 0;
}

.stat-cell {
  flex: 1;
  padding: 12px 16px;
  border-right: 1px solid #f0f0f0;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-val {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

/* description */
.seller-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 14px;
}

/* skill tags */
.skill-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.skill-tag {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  color: #444;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
}

.price-info {
  font-size: 13px;
  color: #888;
}

.price-info strong {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-outline:hover {
  border-color: #999;
  background: #fafafa;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  background: #e8380d;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-primary:hover {
  background: #c82d0a;
}

/* ── RATING COLORS ─────────────────────────────────── */
.rating-high {
  color: #059669;
}

.rating-medium {
  color: #d97706;
}

.rating-low {
  color: #dc2626;
}

/* ── LOAD MORE ─────────────────────────────────────── */
.load-more-wrap {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 48px;
}

.load-more-btn {
  padding: 12px 40px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.15s;
}

.load-more-btn:hover {
  border-color: #999;
  background: #fafafa;
}

/* ── NO RECORD ─────────────────────────────────────── */
.no-record-text {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #999;
  font-weight: 500;
}

/* ── GRID VIEW ─────────────────────────────────────── */
#merchantList.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

#merchantList.grid-view .seller-card {
  margin-bottom: 0;
}

#merchantList.grid-view .seller-header {
  padding-right: 0;
}

#merchantList.grid-view .stats-strip {
  flex-wrap: wrap;
}

#merchantList.grid-view .stat-cell {
  min-width: 50%;
}

#merchantList.grid-view .card-footer {
  flex-direction: column;
  align-items: flex-start;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }

  .page-body {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .cat-header-inner {
    padding: 0 16px;
  }

  .page-body {
    padding: 12px 16px;
  }

  .seller-header {
    padding-right: 0;
  }

  .card-badges {
    position: static;
    flex-direction: row;
    margin-bottom: 8px;
  }

  .stats-strip {
    flex-wrap: wrap;
  }

  .stat-cell {
    min-width: 50%;
  }
}
.ui-slider .ui-slider-range {
    background-color: #dc4242 !important;
}
.gridCard{width:911px;}
		.merchant-skeleton {
			width: 100%;
			height: 140px;
			margin-bottom: 16px;
			border-radius: 12px;
			position: relative;
			overflow: hidden;
			background: #e9ecef;
		}

		.merchant-skeleton::after {
			content: '';
			position: absolute;
			top: 0;
			left: -150%;
			width: 150%;
			height: 100%;
			background: linear-gradient(90deg,
					rgba(255, 255, 255, 0) 0%,
					rgba(255, 255, 255, 0.7) 50%,
					rgba(255, 255, 255, 0) 100%);
			animation: skeleton-loading 1.2s infinite;
		}

		@keyframes skeleton-loading {
			100% {
				left: 100%;
			}
		}.s-pill{
  display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--surface2);
    color: var(--t3);
    border: 1px solid var(--border);
}