.cat-page {
  padding: 24px 0 60px;
}

.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.cat-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cat-breadcrumb a:hover {
  color: rgb(253, 98, 5);
}
.cat-breadcrumb i {
  font-size: 10px;
}
.cat-breadcrumb span {
  color: var(--text-primary);
  font-weight: 500;
}

.cat-page__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.cat-page__title {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.cat-page__count {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.cat-page__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.cat-sidebar {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.cat-sidebar__inner {
  padding: 20px;
}
.cat-sidebar__close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.cat-sidebar__block {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cat-sidebar__block:last-child {
  border-bottom: none;
}
.cat-sidebar__block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
}
.cat-sidebar__block-title i {
  font-size: 16px;
  color: rgb(253, 98, 5);
}

.cat-sidebar__block--nearby {
  background: linear-gradient(135deg, rgba(253, 98, 5, 0.05), rgba(0, 139, 255, 0.05));
  border-radius: 10px;
  padding: 16px;
  margin: -4px -4px 12px;
  border: 1px solid rgba(253, 98, 5, 0.15);
  border-bottom: 1px solid rgba(253, 98, 5, 0.15);
}
.cat-sidebar__nearby-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}
.cat-sidebar__nearby-preview {
  margin-bottom: 12px;
}
.cat-sidebar__nearby-map-thumb {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}
.cat-sidebar__nearby-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
}
.cat-sidebar__nearby-map-placeholder i {
  font-size: 24px;
  color: rgb(0, 139, 255);
}
.cat-sidebar__nearby-map-placeholder span {
  font-size: 11px;
}
.cat-sidebar__nearby-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.cat-sidebar__nearby-radius i {
  color: rgb(253, 98, 5);
}
.cat-sidebar__nearby-radius strong {
  color: var(--text-primary);
}
.cat-sidebar__nearby-count {
  color: rgb(0, 139, 255);
  font-weight: 600;
}
.cat-sidebar__nearby-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: rgb(253, 98, 5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}
.cat-sidebar__nearby-btn:hover {
  background: rgb(220, 80, 0);
  transform: translateY(-1px);
}
.cat-sidebar__nearby-btn:active {
  transform: translateY(0);
}

.cat-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-sidebar__list-item {
  margin-bottom: 2px;
}
.cat-sidebar__list-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}
.cat-sidebar__list-item a:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
.cat-sidebar__list-item.is-active a {
  background: rgba(253, 98, 5, 0.1);
  color: rgb(253, 98, 5);
  font-weight: 600;
}
.cat-sidebar__count {
  font-size: 11px;
  color: var(--text-faint);
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 500;
}
.cat-sidebar__list-item.is-active .cat-sidebar__count {
  background: rgba(253, 98, 5, 0.15);
  color: rgb(253, 98, 5);
}

.cat-sidebar__price-range {
  padding: 4px 0;
}
.cat-sidebar__price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cat-sidebar__price-field {
  flex: 1;
  position: relative;
}
.cat-sidebar__price-field label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.cat-sidebar__price-field input {
  width: 100%;
  padding: 8px 24px 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 13px;
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.cat-sidebar__price-field input:focus {
  border-color: rgb(253, 98, 5);
}
.cat-sidebar__price-currency {
  position: absolute;
  right: 8px;
  bottom: 9px;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 600;
}
.cat-sidebar__price-sep {
  color: var(--text-faint);
  margin-top: 16px;
}
.cat-sidebar__price-slider {
  position: relative;
  height: 24px;
}
.cat-sidebar__price-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
}
.cat-sidebar__price-fill {
  position: absolute;
  height: 100%;
  background: rgb(253, 98, 5);
  border-radius: 2px;
  left: 0%;
  right: 0%;
}
.cat-sidebar__range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: all;
}

.cat-sidebar__promo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cat-sidebar__promo-card {
  cursor: pointer;
}
.cat-sidebar__promo-card input {
  display: none;
}
.cat-sidebar__promo-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-primary);
  transition: all 0.2s;
  text-align: center;
}
.cat-sidebar__promo-card-inner i {
  font-size: 20px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.cat-sidebar__promo-card-inner span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.cat-sidebar__promo-card-inner small {
  font-size: 10px;
  color: var(--text-faint);
}
.cat-sidebar__promo-card:hover .cat-sidebar__promo-card-inner {
  border-color: rgb(253, 98, 5);
  background: rgba(253, 98, 5, 0.03);
}
.cat-sidebar__promo-card input:checked + .cat-sidebar__promo-card-inner {
  border-color: rgb(253, 98, 5);
  background: rgba(253, 98, 5, 0.08);
}
.cat-sidebar__promo-card input:checked + .cat-sidebar__promo-card-inner i {
  color: rgb(253, 98, 5);
}

.cat-sidebar__search-filter {
  position: relative;
  margin-bottom: 10px;
}
.cat-sidebar__search-input {
  width: 100%;
  padding: 8px 10px 8px 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.cat-sidebar__search-input:focus {
  border-color: rgb(253, 98, 5);
}
.cat-sidebar__search-filter i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-faint);
}

.cat-sidebar__check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-sidebar__check-list li {
  margin-bottom: 2px;
}
.cat-sidebar__check-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s;
}
.cat-sidebar__check-list label:hover {
  background: var(--bg-elevated);
}
.cat-sidebar__check-list input[type="checkbox"],
.cat-sidebar__check-list input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: rgb(253, 98, 5);
  flex-shrink: 0;
}
.cat-sidebar__check-list .cat-sidebar__count {
  margin-left: auto;
}

.cat-sidebar__rating-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-sidebar__rating-list li {
  margin-bottom: 2px;
}
.cat-sidebar__rating-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s;
}
.cat-sidebar__rating-list label:hover {
  background: var(--bg-elevated);
}
.cat-sidebar__rating-list input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: rgb(253, 98, 5);
  flex-shrink: 0;
}
.cat-sidebar__stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}
.cat-sidebar__rating-list .cat-sidebar__count {
  margin-left: auto;
}

.cat-sidebar__show-more {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border: none;
  background: none;
  color: rgb(0, 139, 255);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
.cat-sidebar__show-more:hover {
  color: rgb(0, 110, 220);
}

.cat-sidebar__block--actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-bottom: none;
}
.cat-sidebar__apply-btn {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 8px;
  background: rgb(253, 98, 5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}
.cat-sidebar__apply-btn:hover {
  background: rgb(220, 80, 0);
}
.cat-sidebar__reset-btn {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.cat-sidebar__reset-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cat-toolbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cat-toolbar__filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-toolbar__filter-btn:hover {
  border-color: rgb(253, 98, 5);
  color: rgb(253, 98, 5);
}
.cat-toolbar__active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-toolbar__filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(253, 98, 5, 0.08);
  border: 1px solid rgba(253, 98, 5, 0.2);
  border-radius: 20px;
  font-size: 12px;
  color: rgb(253, 98, 5);
  font-weight: 500;
}
.cat-toolbar__filter-tag button {
  display: flex;
  border: none;
  background: none;
  color: rgb(253, 98, 5);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cat-toolbar__filter-tag button:hover {
  opacity: 1;
}
.cat-toolbar__clear-all {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}
.cat-toolbar__clear-all:hover {
  color: var(--text-primary);
}
.cat-toolbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cat-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-toolbar__sort label {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.cat-toolbar__sort select {
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  appearance: auto;
}
.cat-toolbar__view {
  display: flex;
  gap: 4px;
}
.cat-toolbar__view-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-toolbar__view-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}
.cat-toolbar__view-btn.is-active {
  background: rgb(253, 98, 5);
  border-color: rgb(253, 98, 5);
  color: #fff;
}

.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cat-products-grid.is-list {
  grid-template-columns: 1fr;
}
.cat-products-grid.is-list .hp-product-card {
  flex-direction: row;
}
.cat-products-grid.is-list .hp-product-card__img {
  width: 200px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.cat-products-grid.is-list .hp-product-card__info {
  padding: 16px;
}
.cat-products-grid.is-list .hp-product-card__name {
  font-size: 15px;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.cat-products-grid.is-list .hp-product-card__actions {
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-subtle);
  min-width: 140px;
}

.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 0;
  flex-wrap: wrap;
}
.cat-pagination__btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-pagination__btn:hover:not([disabled]) {
  border-color: rgb(253, 98, 5);
  color: rgb(253, 98, 5);
}
.cat-pagination__btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.cat-pagination__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-pagination__page {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-pagination__page:hover {
  border-color: rgb(253, 98, 5);
  color: rgb(253, 98, 5);
}
.cat-pagination__page.is-active {
  background: rgb(253, 98, 5);
  border-color: rgb(253, 98, 5);
  color: #fff;
  font-weight: 700;
}
.cat-pagination__ellipsis {
  padding: 0 4px;
  color: var(--text-faint);
  font-size: 14px;
}
.cat-pagination__info {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.cat-map-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cat-map-modal.is-open {
  display: flex;
}
.cat-map-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.cat-map-modal__container {
  position: relative;
  width: 95%;
  max-width: 1100px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}
.cat-map-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}
.cat-map-modal__title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
}
.cat-map-modal__title i {
  color: rgb(253, 98, 5);
}
.cat-map-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1a1a1a;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cat-map-modal__close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.cat-map-modal__toolbar {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-map-modal__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}
.cat-map-modal__search i {
  font-size: 18px;
  color: #9ca3af;
  flex-shrink: 0;
}
.cat-map-modal__search input {
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
}
.cat-map-modal__search input::placeholder {
  color: #9ca3af;
}
.cat-map-modal__search-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: rgb(0, 139, 255);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cat-map-modal__search-btn:hover {
  background: rgb(0, 115, 220);
}
.cat-map-modal__radius {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cat-map-modal__radius > label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  white-space: nowrap;
}
.cat-map-modal__radius > label i {
  color: rgb(253, 98, 5);
}
.cat-map-modal__radius-btns {
  display: flex;
  gap: 6px;
}
.cat-map-modal__radius-btn {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-map-modal__radius-btn:hover {
  border-color: rgb(253, 98, 5);
  color: rgb(253, 98, 5);
}
.cat-map-modal__radius-btn.is-active {
  background: rgb(253, 98, 5);
  border-color: rgb(253, 98, 5);
  color: #fff;
  font-weight: 700;
}
.cat-map-modal__radius-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.cat-map-modal__radius-slider input[type="range"] {
  width: 120px;
  height: 4px;
  accent-color: rgb(253, 98, 5);
  cursor: pointer;
}
.cat-map-modal__radius-value {
  font-size: 13px;
  font-weight: 700;
  color: rgb(253, 98, 5);
  min-width: 40px;
}

.cat-map-modal__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  flex: 1;
  overflow: hidden;
  min-height: 400px;
}
.cat-map-modal__map {
  position: relative;
  background: #e8f4f8;
  overflow: hidden;
}
.cat-map-modal__map-static {
  width: 100%;
  height: 100%;
  position: relative;
}
.cat-map-modal__map-bg {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf7 50%, #c5e0f0 100%);
}
.cat-map-modal__map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 139, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 139, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cat-map-modal__map-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 5;
}
.cat-map-modal__map-center-pin > i {
  font-size: 32px;
  color: rgb(253, 98, 5);
  filter: drop-shadow(0 2px 4px rgba(253, 98, 5, 0.4));
  animation: bouncePin 2s infinite;
}
@keyframes bouncePin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.cat-map-modal__map-center-pin > span {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}
.cat-map-modal__map-radius-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(253, 98, 5, 0.4);
  background: rgba(253, 98, 5, 0.06);
  z-index: -1;
  transition: width 0.4s ease, height 0.4s ease;
}
.cat-map-modal__map-pin {
  position: absolute;
  z-index: 3;
  cursor: pointer;
  transition: transform 0.2s;
}
.cat-map-modal__map-pin:hover {
  transform: scale(1.3);
  z-index: 6;
}
.cat-map-modal__map-pin--seller i {
  font-size: 22px;
  color: rgb(0, 139, 255);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}
.cat-map-modal__map-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cat-map-modal__map-ctrl {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}
.cat-map-modal__map-ctrl:hover {
  background: #f3f4f6;
}

.cat-map-modal__sellers {
  border-left: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cat-map-modal__sellers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.cat-map-modal__sellers-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.cat-map-modal__sellers-sort select {
  padding: 5px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  background: #fff;
  color: #4b5563;
  outline: none;
  cursor: pointer;
}
.cat-map-modal__sellers-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.cat-map-modal__seller-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.cat-map-modal__seller-card:hover {
  background: #f3f4f6;
}
.cat-map-modal__seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(0, 139, 255);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-map-modal__seller-info {
  flex: 1;
  min-width: 0;
}
.cat-map-modal__seller-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-map-modal__seller-name i {
  color: rgb(0, 139, 255);
  font-size: 14px;
}
.cat-map-modal__seller-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}
.cat-map-modal__seller-meta i {
  font-size: 12px;
}
.cat-map-modal__seller-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.cat-map-modal__seller-tags span {
  padding: 2px 7px;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 10px;
  color: #6b7280;
  font-weight: 500;
}
.cat-map-modal__seller-btn {
  padding: 7px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cat-map-modal__seller-btn:hover {
  border-color: rgb(253, 98, 5);
  color: rgb(253, 98, 5);
}

.cat-map-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.cat-map-modal__footer-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}
.cat-map-modal__footer-info i {
  color: rgb(0, 139, 255);
}
.cat-map-modal__footer-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: rgb(253, 98, 5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.cat-map-modal__footer-btn:hover {
  background: rgb(220, 80, 0);
}

@media (max-width: 1440px) {
  .cat-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .cat-page__layout {
    grid-template-columns: 1fr;
  }
  .cat-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-height: 100vh;
    z-index: 9998;
    border-radius: 0;
    border: none;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  }
  .cat-sidebar.is-open {
    transform: translateX(0);
  }
  .cat-sidebar__close {
    display: flex;
  }
  .cat-toolbar__filter-btn {
    display: flex;
  }
  .cat-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cat-map-modal__body {
    grid-template-columns: 1fr;
  }
  .cat-map-modal__map {
    min-height: 250px;
  }
  .cat-map-modal__sellers {
    border-left: none;
    border-top: 1px solid #e5e7eb;
    max-height: 300px;
  }
}
@media (max-width: 768px) {
  .cat-page {
    padding: 16px 0 40px;
  }
  .cat-page__header {
    flex-direction: column;
    gap: 4px;
  }
  .cat-page__title {
    font-size: 22px;
  }
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-toolbar {
    padding: 10px 12px;
  }
  .cat-toolbar__sort label {
    display: none;
  }
  .cat-toolbar__right {
    gap: 8px;
  }
  .cat-products-grid.is-list .hp-product-card {
    flex-direction: column;
  }
  .cat-products-grid.is-list .hp-product-card__img {
    width: 100%;
  }
  .cat-products-grid.is-list .hp-product-card__actions {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    min-width: unset;
  }
  .cat-map-modal__container {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .cat-map-modal__toolbar {
    padding: 12px 16px;
  }
  .cat-map-modal__radius {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cat-map-modal__radius-slider {
    margin-left: 0;
    width: 100%;
  }
  .cat-map-modal__radius-slider input[type="range"] {
    flex: 1;
  }
  .cat-map-modal__radius-btns {
    flex-wrap: wrap;
  }
  .cat-map-modal__footer {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }
  .cat-map-modal__footer-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cat-sidebar {
    width: 100%;
  }
}
