@charset "UTF-8";
/* ==========================================================================
   Bazar — marketplace pages
   ========================================================================== */
/* Layout
***************************/
.bazar-page {
  padding-bottom: 40px;
}

.bazar-page-category {
  background: radial-gradient(circle at top left, rgba(118, 204, 209, 0.14), transparent 34%), linear-gradient(180deg, #fcfdfb 0%, #f4f7f5 100%);
}

/* Header
***************************/
.bazar-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #2da8af;
  background: rgba(92, 204, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(92, 204, 210, 0.18);
}

/* ===== Category page header (inside container-fluid) ===== */
.bazar-category-header {
  padding: 4px 0 18px;
}

.bazar-category-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.bazar-category-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.bazar-category-hero-actions {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 993px) {
  .bazar-category-hero {
    display: grid;
    grid-template-columns: var(--bazar-filter-col) minmax(0, 1fr) var(--bazar-map-col);
    gap: 20px;
    align-items: start;
  }
  .bazar-category-hero-main {
    grid-column: 1/span 2;
  }
  .bazar-category-hero-actions {
    grid-column: 3;
  }
}
.bazar-category-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.2), rgba(118, 204, 209, 0.06));
  border: 1px solid rgba(216, 225, 224, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bazar-category-hero-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.bazar-category-hero-icon i {
  font-size: 28px;
  color: #18666a;
}

.bazar-category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2da8af;
  background: rgba(92, 204, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(92, 204, 210, 0.18);
}

.bazar-category-hero-info {
  min-width: 0;
}
.bazar-category-hero-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1f2626;
  line-height: 1.05;
}

.bazar-summary-item.bazar-category-create-link {
  min-height: 92px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  padding: 18px 20px;
  color: #fff;
  background: #76ccd1;
  border-color: #76ccd1;
  box-shadow: 0 20px 36px rgba(118, 204, 209, 0.24);
}
.bazar-summary-item.bazar-category-create-link:hover {
  color: #fff;
  background: #8bd4d8;
  border-color: #84d1d6;
  box-shadow: 0 24px 40px rgba(118, 204, 209, 0.3);
}
.bazar-summary-item.bazar-category-create-link i.fa-angle-right {
  color: rgba(255, 255, 255, 0.92);
}
.bazar-summary-item.bazar-category-create-link .bazar-summary-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
}
.bazar-summary-item.bazar-category-create-link .bazar-summary-icon i {
  color: #fff;
}
.bazar-summary-item.bazar-category-create-link .bazar-summary-text strong {
  font-size: 16px;
  color: #fff;
}
.bazar-summary-item.bazar-category-create-link .bazar-category-create-text-mobile {
  display: none;
}
.bazar-summary-item.bazar-category-create-link .bazar-summary-text small {
  color: rgba(255, 255, 255, 0.94);
}

.bazar-category-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.bazar-category-meta-note {
  font-size: 13px;
  color: #73807f;
}

/* Subcategory tiles */
.bazar-subcat-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #e8efed;
}

.bazar-subcat-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 7px 14px 7px 7px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2e7ec;
  border-radius: 999px;
  transition: all 0.15s;
  color: #444;
  text-decoration: none;
  font-size: 13px;
}
.bazar-subcat-tile:hover {
  border-color: #76ccd1;
  background: #f7fcfc;
  text-decoration: none;
  color: #48bbc2;
}

.bazar-subcat-tile-img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(118, 204, 209, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bazar-subcat-tile-img img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bazar-subcat-tile-name {
  font-weight: 500;
}

.bazar-subcat-tile-count {
  font-size: 11px;
  color: #b0b8c0;
  margin-left: 2px;
}
.bazar-subcat-tile-count::before {
  content: "(";
}
.bazar-subcat-tile-count::after {
  content: ")";
}

/* ===== Landing page ===== */
.bazar-landing {
  padding: 24px 0 60px;
  position: relative;
  isolation: isolate;
  background: radial-gradient(circle at top left, rgba(118, 204, 209, 0.14), transparent 34%), linear-gradient(180deg, #fcfdfb 0%, #f4f7f5 100%);
}

.bazar-landing-container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 24px;
}

.bazar-landing-hero {
  position: relative;
  z-index: 1010;
  margin-bottom: 22px;
}

.bazar-landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.bazar-landing-copy,
.bazar-landing-summary-card,
.bazar-landing-info-card,
.bazar-landing-category-card,
.bazar-landing-subcat-pill,
.bazar-card-landing {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 225, 224, 0.85);
  box-shadow: 0 20px 60px rgba(33, 44, 44, 0.06);
}

.bazar-landing-copy {
  border-radius: 26px;
  padding: 42px 44px;
  position: relative;
  overflow: visible;
  background: radial-gradient(circle at calc(100% - 30px) 30px, rgba(118, 204, 209, 0.16) 0, rgba(118, 204, 209, 0.16) 110px, transparent 111px), rgba(255, 255, 255, 0.92);
}
.bazar-landing-copy h1 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 0 18px;
  font-size: 3.25rem;
  line-height: 1.25;
  font-weight: 600;
  color: #1f2626;
  letter-spacing: -0.03em;
}

.bazar-landing-eyebrow,
.bazar-section-kicker,
.bazar-summary-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2da8af;
  background: rgba(92, 204, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(92, 204, 210, 0.18);
}

.bazar-landing-intro {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #576362;
}

.bazar-landing-search-actions {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.bazar-landing-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
  margin-top: 0;
}
.bazar-landing-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: none;
  white-space: nowrap;
}
.bazar-landing-actions .btn-outline-primary {
  border-color: rgba(118, 204, 209, 0.6);
  color: #18666a;
  background: rgba(255, 255, 255, 0.72);
}

.bazar-landing-featured {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin-top: 34px;
}
.bazar-landing-featured .bazar-summary-label {
  margin-bottom: 12px;
}
.bazar-landing-featured .bazar-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.bazar-landing-featured .bazar-summary-item {
  height: 100%;
}

.bazar-quick-search {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  margin-top: 0;
}

.bazar-quick-search-form {
  position: relative;
  overflow: visible;
}

.bazar-quick-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bazar-quick-search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px 10px 20px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  border: 1px solid rgba(216, 225, 224, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(33, 44, 44, 0.12);
}
.bazar-quick-search-control > i {
  font-size: 18px;
  color: #2da8af;
}
.bazar-quick-search-control input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #1f2626;
  padding: 0;
  box-shadow: none;
}
.bazar-quick-search-control input:focus {
  outline: 0;
  box-shadow: none;
}
.bazar-quick-search-control .btn {
  min-width: 132px;
  min-height: 48px;
  border-radius: 16px;
  font-weight: 700;
}

.bazar-quick-search-form.is-open .bazar-quick-search-control {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.bazar-quick-search-results {
  position: absolute;
  z-index: 1;
  top: calc(100% - 18px);
  left: 0;
  right: 0;
  width: auto;
  padding: 22px 10px 10px;
  max-height: 392px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 0 0 24px 24px;
  border: 1px solid rgba(216, 225, 224, 0.95);
  border-top: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(33, 44, 44, 0.14);
  overscroll-behavior: contain;
  pointer-events: auto;
}

.bazar-quick-search-results[hidden] {
  display: none !important;
}

.bazar-quick-search-group + .bazar-quick-search-group {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 231, 236, 0.9);
}

.bazar-quick-search-group-title {
  padding: 2px 12px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8685;
}

.bazar-quick-search-group.is-compact-group + .bazar-quick-search-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 231, 236, 0.9);
}

.bazar-quick-search-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  color: #24302f;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}
.bazar-quick-search-item:hover, .bazar-quick-search-item.is-active {
  color: #24302f;
  text-decoration: none;
  background: linear-gradient(180deg, #fbfcfb 0%, #f2f6f5 100%);
  transform: translateY(-1px);
}

.bazar-quick-search-item-compact {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
}
.bazar-quick-search-item-compact .bazar-quick-search-body {
  gap: 1px;
}
.bazar-quick-search-item-compact .bazar-quick-search-title {
  font-size: 14px;
}
.bazar-quick-search-item-compact .bazar-quick-search-subtitle {
  font-size: 11px;
  line-height: 1.35;
}

.bazar-quick-search-item-category {
  padding-top: 7px;
  padding-bottom: 7px;
}
.bazar-quick-search-item-category .bazar-quick-search-body {
  justify-content: center;
  gap: 0;
}

.bazar-quick-search-media {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.18), rgba(118, 204, 209, 0.06));
}
.bazar-quick-search-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bazar-quick-search-media-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.22), rgba(118, 204, 209, 0.08));
}
.bazar-quick-search-media-icon i,
.bazar-quick-search-media-icon svg {
  display: block;
  font-size: 14px;
  width: 14px;
  height: 14px;
  color: #176469;
  fill: currentColor;
}

.bazar-quick-search-media-placeholder {
  font-size: 20px;
  font-weight: 700;
  color: #176469;
}

.bazar-quick-search-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.bazar-quick-search-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 999px;
  background: rgba(118, 204, 209, 0.14);
  color: #6f7d7b;
  font-size: 9px;
}
.bazar-quick-search-kind i,
.bazar-quick-search-kind svg {
  display: block;
  width: 9px;
  height: 9px;
}

.bazar-quick-search-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bazar-quick-search-subtitle {
  font-size: 12px;
  color: #73807f;
}

.bazar-quick-search-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: #1f2626;
}

.bazar-quick-search-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bazar-quick-search-side {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #95a7a5;
}
.bazar-quick-search-side i,
.bazar-quick-search-side svg {
  display: block;
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.bazar-quick-search-price {
  font-size: 13px;
  font-weight: 700;
  color: #176469;
}

.bazar-quick-search-empty,
.bazar-quick-search-hint {
  font-size: 13px;
  color: #73807f;
}

.bazar-quick-search-empty {
  padding: 12px 14px;
}

.bazar-quick-search-hint {
  margin-top: 12px;
}

.bazar-quick-search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.bazar-quick-search-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(216, 225, 224, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: #24302f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.bazar-quick-search-pill:hover {
  color: #176469;
  text-decoration: none;
  border-color: rgba(118, 204, 209, 0.65);
  background: #f7fcfc;
  transform: translateY(-1px);
}
.bazar-quick-search-pill i {
  color: #2da8af;
}

@media (max-width: 768px) {
  .bazar-landing-search-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .bazar-landing-actions .btn {
    width: 100%;
  }
  .bazar-quick-search-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 20px;
  }
  .bazar-quick-search-control > i {
    grid-column: 1;
    grid-row: 1;
  }
  .bazar-quick-search-control input {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    font-size: 16px;
  }
  .bazar-quick-search-control .btn {
    grid-column: 1/-1;
    width: 100%;
    min-width: 0;
  }
  .bazar-quick-search-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .bazar-quick-search-item-compact {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .bazar-quick-search-results {
    max-height: min(320px, 60vh);
    width: auto;
  }
  .bazar-quick-search-media {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .bazar-quick-search-media-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .bazar-quick-search-side {
    display: none;
  }
}
.bazar-landing-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.bazar-landing-stat {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(246, 248, 247, 0.95);
  border: 1px solid rgba(224, 230, 229, 0.95);
}
.bazar-landing-stat i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  border-radius: 12px;
  font-size: 16px;
  color: #176469;
  background: rgba(118, 204, 209, 0.18);
  grid-column: 1;
  grid-row: 1;
}
.bazar-landing-stat span {
  display: block;
}
.bazar-landing-stat strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2626;
}
.bazar-landing-stat span {
  grid-column: 1/-1;
  margin-top: 0;
  font-size: 13px;
  color: #667170;
}

.bazar-landing-stats-summary {
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.bazar-landing-summary-card {
  height: 100%;
  border-radius: 26px;
  padding: 28px;
}
.bazar-landing-summary-card h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #1f2626;
}

.bazar-landing-my-items .bazar-summary-label {
  display: block;
  margin-bottom: 12px;
}

.bazar-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bazar-summary-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  color: #24302f;
  text-decoration: none;
  background: linear-gradient(180deg, #fbfcfb 0%, #f1f5f4 100%);
  border: 1px solid #e5eceb;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bazar-summary-item:hover {
  color: #24302f;
  text-decoration: none;
  border-color: rgba(118, 204, 209, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(33, 44, 44, 0.08);
}
.bazar-summary-item i.fa-angle-right {
  color: #95a7a5;
  font-size: 18px;
}

.bazar-summary-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.18), rgba(118, 204, 209, 0.06));
}
.bazar-summary-icon i {
  font-size: 22px;
  color: #176469;
}
.bazar-summary-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.bazar-summary-icon .bazar-summary-thumb {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.bazar-summary-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bazar-summary-text strong {
  font-size: 15px;
  font-weight: 600;
  color: #26302f;
}
.bazar-summary-text small {
  margin-top: 3px;
  font-size: 12px;
  color: #73807f;
}

.bazar-summary-item-all {
  background: linear-gradient(135deg, rgba(213, 234, 234, 0.95) 0%, rgba(244, 250, 249, 0.98) 100%);
  border-color: rgba(23, 100, 105, 0.18);
  box-shadow: 0 18px 36px rgba(23, 100, 105, 0.1);
}
.bazar-summary-item-all .bazar-summary-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.26), rgba(118, 204, 209, 0.1));
}
.bazar-summary-item-all .bazar-summary-icon i {
  color: #155e63;
}
.bazar-summary-item-all .bazar-summary-text strong {
  color: #175c61;
  white-space: nowrap;
}
.bazar-summary-item-all .bazar-summary-text small {
  color: #5f7371;
  white-space: nowrap;
}
.bazar-summary-item-all i.fa-angle-right {
  color: #175c61;
}
.bazar-summary-item-all:hover {
  border-color: rgba(23, 100, 105, 0.34);
  box-shadow: 0 22px 42px rgba(23, 100, 105, 0.14);
}

.bazar-landing-info,
.bazar-landing-section {
  margin-top: 26px;
}

.bazar-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bazar-landing-info-card {
  border-radius: 22px;
  padding: 26px 24px;
}
.bazar-landing-info-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  font-size: 21px;
  color: #166469;
  background: rgba(118, 204, 209, 0.16);
}
.bazar-landing-info-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #1f2626;
}
.bazar-landing-info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #697574;
}

.bazar-landing-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}
.bazar-landing-section-head.slim {
  margin-bottom: 16px;
}
.bazar-landing-section-head h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  color: #1f2626;
}

.bazar-landing-section-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 36px;
  text-align: center;
}
.bazar-landing-section-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 14px 28px;
  margin: 0 auto;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
}

.bazar-landing-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bazar-landing-category-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  color: #1f2626;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bazar-landing-category-card:hover {
  color: #1f2626;
  text-decoration: none;
  transform: translateY(-4px);
  border-color: rgba(118, 204, 209, 0.72);
  box-shadow: 0 26px 52px rgba(33, 44, 44, 0.1);
}

.bazar-landing-category-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.2), rgba(118, 204, 209, 0.06));
}
.bazar-landing-category-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.bazar-landing-category-body {
  flex: 1;
}
.bazar-landing-category-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}
.bazar-landing-category-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #677473;
}

.bazar-landing-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #176469;
}

.bazar-landing-subcats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bazar-landing-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border-color: rgba(92, 204, 210, 0.18);
  background: rgba(92, 204, 210, 0.12);
  box-shadow: none;
  color: #176469;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bazar-landing-subcat-pill:hover {
  color: #176469;
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(92, 204, 210, 0.26);
  background: rgba(92, 204, 210, 0.16);
}
.bazar-landing-subcat-pill img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.bazar-landing-subcat-pill span {
  font-size: 14px;
  font-weight: 600;
}

.bazar-grid-landing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.bazar-card-landing {
  border-radius: 22px;
  border-color: rgba(216, 225, 224, 0.92);
}
.bazar-card-landing:hover {
  box-shadow: 0 24px 52px rgba(33, 44, 44, 0.1);
  transform: translateY(-3px);
}
.bazar-card-landing .bazar-card-img {
  padding-top: 68%;
}
.bazar-card-landing .bazar-card-body {
  padding: 16px 16px 18px;
}
.bazar-card-landing .bazar-card-price {
  font-size: 1.05rem;
}
.bazar-card-landing .bazar-card-title {
  min-height: 38px;
}
.bazar-card-landing .bazar-card-meta {
  gap: 10px 12px;
}

/* Community story
***************************/
.bazar-landing-section-community-story .bazar-landing-section-head {
  margin-bottom: 18px;
}

.bazar-landing-community-intro {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px 28px;
  border-radius: 28px;
  border: 1px solid rgba(216, 225, 224, 0.96);
  background: linear-gradient(135deg, rgba(246, 250, 249, 0.98) 0%, rgba(252, 253, 252, 0.98) 100%);
  box-shadow: 0 18px 40px rgba(33, 44, 44, 0.06);
}
.bazar-landing-community-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: #556362;
}

.bazar-landing-community-intro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(118, 204, 209, 0.22), rgba(118, 204, 209, 0.08));
  box-shadow: inset 0 0 0 1px rgba(118, 204, 209, 0.18);
  color: #176469;
}
.bazar-landing-community-intro-icon i {
  font-size: 26px;
}

.bazar-landing-community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.bazar-landing-community-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  background: #fff;
  box-shadow: 0 16px 34px rgba(33, 44, 44, 0.05);
}
.bazar-landing-community-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(118, 204, 209, 0.16);
  color: #176469;
  font-size: 19px;
}
.bazar-landing-community-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #1f2626;
}
.bazar-landing-community-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #677473;
}

.bazar-landing-community-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid rgba(23, 100, 105, 0.18);
  background: linear-gradient(135deg, rgba(23, 100, 105, 0.1), rgba(118, 204, 209, 0.12));
  box-shadow: 0 20px 42px rgba(23, 100, 105, 0.08);
}

.bazar-landing-community-cta-copy .bazar-section-kicker {
  margin-bottom: 10px;
}
.bazar-landing-community-cta-copy h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #1f2626;
}
.bazar-landing-community-cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #506160;
}

.bazar-landing-community-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 16px 30px rgba(23, 100, 105, 0.16);
}

.bazar-community-section {
  margin-top: 30px;
}

.bazar-community-head {
  max-width: 780px;
  margin-bottom: 14px;
}
.bazar-community-head h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
  color: #1f2626;
}

.bazar-community-copy {
  max-width: 780px;
}
.bazar-community-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #536261;
}

.bazar-community-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 18px;
}
.bazar-community-divider i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(23, 100, 105, 0.07);
  color: rgba(23, 100, 105, 0.66);
  font-size: 15px;
}

.bazar-community-cta {
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 24px;
}

.bazar-community-cta-text h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #1f2626;
}
.bazar-community-cta-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #536261;
}

.bazar-community-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .bazar-landing-copy h1 {
    font-size: 2.8rem;
  }
  .bazar-landing-category-grid,
  .bazar-grid-landing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 992px) {
  .bazar-landing {
    padding-top: 18px;
  }
  .bazar-landing-container {
    padding: 0 18px;
  }
  .bazar-landing-hero-grid,
  .bazar-info-grid {
    grid-template-columns: 1fr;
  }
  .bazar-landing-copy {
    padding: 34px 28px;
  }
  .bazar-landing-copy h1 {
    font-size: 2.4rem;
  }
  .bazar-landing-category-grid,
  .bazar-grid-landing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bazar-landing-featured .bazar-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bazar-summary-item-all {
    margin-top: 10px;
  }
  .bazar-landing-community-cta {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .bazar-summary-item-all {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    margin-top: 0;
  }
  .bazar-summary-item-all .bazar-summary-text strong,
  .bazar-summary-item-all .bazar-summary-text small {
    white-space: normal;
  }
  .bazar-landing-featured .bazar-summary-list {
    grid-template-columns: 1fr;
  }
  .bazar-landing-stats {
    grid-template-columns: 1fr;
  }
  .bazar-landing-section-head {
    align-items: start;
    flex-direction: column;
  }
  .bazar-landing-section-head h2 {
    font-size: 1.7rem;
  }
  .bazar-landing-section-footer .btn {
    width: 100%;
  }
  .bazar-landing-community-intro {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 24px;
  }
  .bazar-landing-community-intro-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }
}
@media (max-width: 576px) {
  .bazar-summary-item-mobile-hidden {
    display: none;
  }
  .bazar-landing-container {
    padding: 0 14px;
  }
  .bazar-landing-copy,
  .bazar-landing-summary-card,
  .bazar-landing-info-card,
  .bazar-landing-category-card,
  .bazar-card-landing {
    border-radius: 20px;
  }
  .bazar-landing-copy {
    padding: 26px 20px;
  }
  .bazar-landing-copy h1 {
    font-size: 2rem;
  }
  .bazar-landing-intro {
    font-size: 15px;
  }
  .bazar-summary-item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    padding: 12px;
  }
  .bazar-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .bazar-summary-icon img {
    width: 28px;
    height: 28px;
  }
  .bazar-landing-category-grid,
  .bazar-grid-landing {
    grid-template-columns: 1fr;
  }
  .bazar-landing-category-card {
    min-height: 0;
    padding: 20px;
  }
  .bazar-landing-subcat-pill {
    width: 100%;
    justify-content: flex-start;
  }
  .bazar-landing-community-intro {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }
  .bazar-landing-community-intro-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }
  .bazar-landing-community-intro-icon i {
    font-size: 22px;
  }
  .bazar-landing-community-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bazar-landing-community-card {
    padding: 20px;
    border-radius: 20px;
  }
  .bazar-landing-community-cta {
    padding: 22px 20px;
    border-radius: 22px;
  }
  .bazar-landing-community-cta-copy h3 {
    font-size: 1.18rem;
  }
  .bazar-landing-community-cta-copy p {
    font-size: 14px;
    line-height: 1.7;
  }
  .bazar-landing-community-cta-btn {
    width: 100%;
  }
  .bazar-community-head h2 {
    font-size: 1.5rem;
  }
  .bazar-community-copy p,
  .bazar-community-cta-text p {
    font-size: 14px;
    line-height: 1.75;
  }
  .bazar-community-divider {
    margin: 14px 0 16px;
  }
  .bazar-community-cta-text h3 {
    font-size: 1.05rem;
  }
}
/* Category page mobile adjustments */
@media (max-width: 576px) {
  .bazar-category-header {
    padding: 0 0 16px;
  }
  .bazar-category-hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
  }
  .bazar-category-hero-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }
  .bazar-category-hero-actions {
    width: auto;
    max-width: 126px;
    flex: 0 0 auto;
  }
  .bazar-summary-item.bazar-category-create-link {
    min-height: 50px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    max-width: 126px;
    padding: 8px 10px;
  }
  .bazar-summary-item.bazar-category-create-link .bazar-summary-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .bazar-summary-item.bazar-category-create-link .bazar-summary-icon i {
    font-size: 14px;
  }
  .bazar-summary-item.bazar-category-create-link .bazar-summary-text {
    min-width: 0;
  }
  .bazar-summary-item.bazar-category-create-link .bazar-category-create-text-desktop {
    display: none;
  }
  .bazar-summary-item.bazar-category-create-link .bazar-category-create-text-mobile {
    display: block;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }
  .bazar-summary-item.bazar-category-create-link .bazar-summary-text small,
  .bazar-summary-item.bazar-category-create-link i.fa-angle-right {
    display: none;
  }
  .bazar-category-hero-icon {
    width: 48px;
    height: 48px;
  }
  .bazar-category-hero-icon img {
    width: 28px;
    height: 28px;
  }
  .bazar-category-hero-info {
    min-width: 0;
    flex: 1 1 auto;
  }
  .bazar-category-hero-info h1 {
    font-size: 1.2rem;
  }
  .bazar-category-meta-note {
    width: 100%;
  }
  .bazar-subcat-tiles {
    gap: 6px;
  }
}
/* Content layout
***************************/
.bazar-content {
  --bazar-filter-col: 272px;
  --bazar-map-col: 456px;
  --bazar-inline-padding: 24px;
  max-width: 1540px;
  margin: 0 auto;
  padding: 20px var(--bazar-inline-padding) 0;
}

.bazar-catalog-layout {
  display: grid;
  grid-template-columns: var(--bazar-filter-col) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.bazar-catalog-layout.has-map {
  grid-template-columns: var(--bazar-filter-col) minmax(0, 1fr) var(--bazar-map-col);
}
.bazar-catalog-layout.has-map-toggle {
  grid-template-columns: var(--bazar-filter-col) minmax(0, 1fr) max-content;
}

.bazar-items-col {
  min-width: 0;
}

.bazar-items-watch-cta {
  margin-bottom: 14px;
}

.bazar-items-watch-link {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid rgba(18, 96, 100, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(27, 123, 128, 0.08) 0%, rgba(45, 168, 175, 0.16) 100%);
  color: #176469;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(23, 100, 105, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.bazar-items-watch-link:hover {
  color: #124f53;
  transform: translateY(-1px);
  border-color: rgba(18, 96, 100, 0.38);
  box-shadow: 0 16px 32px rgba(23, 100, 105, 0.12);
}
.bazar-items-watch-link i.fa-angle-right {
  color: rgba(18, 96, 100, 0.7);
  font-size: 18px;
  flex: 0 0 auto;
}

.bazar-items-watch-link-label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bazar-items-watch-link-label i {
  flex: 0 0 auto;
  font-size: 16px;
}
.bazar-items-watch-link-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bazar-results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 225, 224, 0.88);
  box-shadow: 0 12px 34px rgba(33, 44, 44, 0.05);
}

.bazar-results-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.bazar-results-count {
  font-size: 15px;
  font-weight: 700;
  color: #1f2626;
}

.bazar-results-context {
  font-size: 13px;
  color: #758180;
}

.bazar-results-actions {
  align-items: center;
}
.bazar-results-actions .btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.bazar-results-actions .btn.is-active {
  color: #176469;
  border-color: rgba(118, 204, 209, 0.65);
  background: rgba(118, 204, 209, 0.12);
}

/* Filter panel (sidebar)
***************************/
.bazar-filters {
  min-width: 0;
  margin-bottom: 0;
}

.filter-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(216, 225, 224, 0.92);
  border-radius: 22px;
  padding: 16px 16px 18px;
  font-size: 13px;
  position: sticky;
  top: 24px;
  box-shadow: 0 16px 40px rgba(33, 44, 44, 0.06);
}
.filter-panel .filter-section {
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eef1f4;
}
.filter-panel .filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-panel .filter-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  color: #333;
}
.filter-panel .filter-title small {
  font-weight: 400;
  color: #999;
}
.filter-panel .filter-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.filter-panel .filter-section-toggle:hover {
  color: #76ccd1;
}
.filter-panel .filter-section-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.filter-panel .filter-section-toggle-label i {
  width: 14px;
  flex: 0 0 14px;
  text-align: center;
}
.filter-panel .filter-section-toggle-label small {
  font-weight: 400;
  color: #999;
}
.filter-panel .filter-section-toggle-icon,
.filter-panel .filter-more-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  color: #7d8a90;
  transition: transform 0.18s ease, color 0.18s ease;
}
.filter-panel .filter-section-content {
  min-width: 0;
}
.filter-panel .filter-attr.is-collapsible .filter-section-content {
  display: none;
}
.filter-panel .filter-attr.is-collapsible.is-expanded .filter-section-toggle {
  color: #76ccd1;
}
.filter-panel .filter-attr.is-collapsible.is-expanded .filter-section-content {
  display: block;
  margin-top: 10px;
}
.filter-panel .filter-attr.is-collapsible.is-expanded .filter-section-toggle-icon {
  transform: rotate(180deg);
  color: #76ccd1;
}
.filter-panel #bazar-dynamic-filters > div:not(.show-more-filters) .filter-attr.is-level-3 {
  display: none;
}
.filter-panel .filter-more-filters-section {
  padding-top: 2px;
}
.filter-panel .filter-more-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 14px;
  padding-right: 14px;
}
.filter-panel .filter-more-toggle.is-expanded .filter-more-toggle-icon {
  transform: rotate(180deg);
  color: #76ccd1;
}
.filter-panel .filter-search {
  position: relative;
}
.filter-panel .filter-search input {
  height: 42px;
  padding-right: 36px;
  border-radius: 12px;
  border-color: #e2e8e6;
  background: #f7f9f8;
}
.filter-panel .filter-search i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}
.filter-panel .category-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-panel .category-tree .cat-item {
  padding: 3px 0;
}
.filter-panel .category-tree .cat-item.has-children > .cat-children {
  display: none;
}
.filter-panel .category-tree .cat-item.is-open > .cat-children {
  display: block;
}
.filter-panel .category-tree .cat-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.filter-panel .category-tree .cat-toggle,
.filter-panel .category-tree .cat-toggle-placeholder {
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-top: 4px;
  flex: 0 0 24px;
}
.filter-panel .category-tree .cat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e3e1;
  border-radius: 8px;
  background: #fff;
  color: #60706e;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.filter-panel .category-tree .cat-toggle:hover {
  color: #76ccd1;
  border-color: rgba(118, 204, 209, 0.55);
  background: rgba(118, 204, 209, 0.06);
}
.filter-panel .category-tree .cat-toggle-placeholder {
  display: block;
}
.filter-panel .category-tree .cat-children {
  margin: 2px 0 0 14px;
  padding-left: 18px;
  border-left: 1px solid #e2e8e6;
}
.filter-panel .category-tree .cat-link {
  color: #555;
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
}
.filter-panel .category-tree .cat-link.active-path {
  color: #35656a;
  font-weight: 600;
  background: rgba(118, 204, 209, 0.05);
}
.filter-panel .category-tree .cat-link .cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.filter-panel .category-tree .cat-link .cat-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-panel .category-tree .cat-link i {
  width: 14px;
  flex: 0 0 14px;
  text-align: center;
}
.filter-panel .category-tree .cat-link:hover, .filter-panel .category-tree .cat-link.active {
  color: #76ccd1;
  text-decoration: none;
  font-weight: 600;
  background: rgba(118, 204, 209, 0.08);
}
.filter-panel .category-tree .cat-link .cat-count {
  color: #bbb;
  font-size: 12px;
  font-weight: 400;
  flex-shrink: 0;
}
.filter-panel .category-tree .is-open > .cat-row .cat-toggle {
  color: #76ccd1;
  border-color: rgba(118, 204, 209, 0.6);
  background: rgba(118, 204, 209, 0.08);
}
.filter-panel .category-tree .cat-reset {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #999;
}
.filter-panel .category-tree .cat-reset:hover {
  color: #76ccd1;
  text-decoration: none;
}
.filter-panel .attr-multi-select .form-check {
  margin-bottom: 4px;
}
.filter-panel .form-control,
.filter-panel .form-select {
  border-radius: 12px;
  border-color: #e2e8e6;
  font-size: 13px;
}
.filter-panel .btn {
  border-radius: 999px;
  font-weight: 600;
}

.filter-panel-body {
  min-width: 0;
  width: 100%;
}

.filter-panel .row.g-2 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.filter-panel .row.g-2 > [class*=col-] {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}
.filter-panel .category-tree,
.filter-panel .cat-item,
.filter-panel .cat-row,
.filter-panel .cat-children,
.filter-panel .cat-link,
.filter-panel .attr-multi-select,
.filter-panel .form-check {
  min-width: 0;
  max-width: 100%;
}
.filter-panel .cat-children {
  box-sizing: border-box;
}
.filter-panel .cat-link {
  min-width: 0;
}
.filter-panel .cat-name,
.filter-panel .form-control,
.filter-panel .form-select,
.filter-panel .attr-filter-range {
  min-width: 0;
}

.filter-panel-footer {
  margin-top: 14px;
}
.filter-panel-footer .btn {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.filter-panel-footer .btn:disabled, .filter-panel-footer .btn.is-loading {
  background: #9aa7ab;
  border-color: #9aa7ab;
  color: #fff;
  box-shadow: none;
  opacity: 1;
  cursor: wait;
}

.filter-panel-create {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #eef1f4;
}

.bazar-filter-create-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(18, 96, 100, 0.34);
  background: linear-gradient(135deg, #1b7b80 0%, #2da8af 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(23, 100, 105, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bazar-filter-create-link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(18, 96, 100, 0.48);
  box-shadow: 0 22px 38px rgba(23, 100, 105, 0.24);
}

.bazar-filter-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

@keyframes bazar-mobile-filter-sheet-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .bazar-content {
    --bazar-inline-padding: 18px;
    padding: 18px var(--bazar-inline-padding) 0;
  }
  .bazar-catalog-layout,
  .bazar-catalog-layout.has-map,
  .bazar-catalog-layout.has-map-toggle {
    grid-template-columns: 1fr;
  }
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card {
    flex-direction: column;
    align-items: stretch;
  }
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-img {
    flex: initial;
    width: auto;
    min-height: 0;
    padding-top: 66%;
  }
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-body {
    padding: 13px 13px 14px;
  }
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-title {
    min-height: 36px;
  }
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-desc {
    margin-bottom: 10px;
  }
  .bazar-filters {
    display: none;
  }
  .bazar-filters.open {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    overflow-y: auto;
    background: transparent;
    backdrop-filter: none;
    padding: 0 0 14px;
    box-sizing: border-box;
  }
  .bazar-filters.open .filter-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    backdrop-filter: none;
    transform-origin: bottom center;
    animation: bazar-mobile-filter-sheet-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .bazar-filters.open .filter-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: calc(124px + env(safe-area-inset-bottom));
  }
  .bazar-filters.open .filter-panel-footer {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: calc(44px + env(safe-area-inset-bottom));
    margin: 0;
    padding-top: 18px;
    display: flex;
    justify-content: center;
    z-index: 2;
  }
  .bazar-filters.open .filter-panel-footer .btn {
    width: auto;
    min-width: 170px;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(31, 38, 38, 0.12);
  }
  .bazar-map-col {
    display: none !important;
    position: relative;
    inset: auto;
    z-index: auto;
    padding: 0;
    background: transparent;
    gap: 14px;
    height: auto;
  }
  .bazar-map-panel {
    position: relative;
    flex: initial;
    min-height: 0;
  }
  .bazar-catalog-layout.is-mobile-map-view {
    display: block;
  }
  .bazar-catalog-layout.is-mobile-map-view .bazar-items-col {
    display: none;
  }
  .bazar-catalog-layout.is-mobile-map-view .bazar-map-col {
    display: block !important;
  }
  .bazar-catalog-layout.is-mobile-map-view .bazar-map-panel {
    height: auto;
  }
  .bazar-catalog-layout.is-mobile-map-view .bazar-map-toolbar {
    position: static;
    justify-content: flex-start;
  }
  .bazar-map-col:not(.is-collapsed) .bazar-map-toolbar {
    position: static;
  }
  .bazar-map-toolbar #btn-show-map {
    display: none;
  }
  .bazar-map-panel #bazar-map {
    height: 100% !important;
    min-height: 0 !important;
  }
}
/* Mobile toggles
***************************/
.bazar-mobile-toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: sticky;
  top: 45px;
  z-index: 24;
  margin-left: calc(var(--bazar-inline-padding, 0px) * -1);
  margin-right: calc(var(--bazar-inline-padding, 0px) * -1);
  padding: 8px var(--bazar-inline-padding, 0px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(26, 51, 58, 0.08);
}
.bazar-mobile-toggles .btn {
  border-radius: 999px;
  font-weight: 600;
}
.bazar-mobile-toggles .btn.is-active {
  color: #176469;
  border-color: rgba(118, 204, 209, 0.65);
  background: rgba(118, 204, 209, 0.12);
}

/* Empty state
***************************/
.bazar-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}
.bazar-empty i {
  margin-bottom: 15px;
  color: #ccc;
}
.bazar-empty p {
  font-size: 16px;
  margin-bottom: 15px;
}

/* Item grid
***************************/
.bazar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.bazar-catalog-layout.has-map .bazar-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.bazar-catalog-layout.has-map .bazar-card {
  flex-direction: row;
  align-items: stretch;
}
.bazar-catalog-layout.has-map .bazar-card .bazar-card-img {
  flex: 0 0 228px;
  width: 228px;
  min-height: 168px;
  padding-top: 0;
}
.bazar-catalog-layout.has-map .bazar-card .bazar-card-body {
  min-width: 0;
  padding: 16px 18px;
}
.bazar-catalog-layout.has-map .bazar-card .bazar-card-title {
  min-height: 0;
}
.bazar-catalog-layout.has-map .bazar-card .bazar-card-desc {
  margin-bottom: 12px;
}

.bazar-item-list-sentinel {
  height: 1px;
}

@media (max-width: 576px) {
  .bazar-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}
/* Item card
***************************/
.bazar-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(216, 225, 224, 0.94);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(33, 44, 44, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  color: #333;
}
.bazar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(33, 44, 44, 0.09);
  border-color: rgba(118, 204, 209, 0.52);
  text-decoration: none;
  color: #333;
}
.bazar-card .bazar-card-img {
  position: relative;
  padding-top: 66%;
  background: #eef3f1;
  overflow: hidden;
}
.bazar-card .bazar-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bazar-card .bazar-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
.bazar-card .bazar-card-body {
  padding: 13px 13px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bazar-card .bazar-card-price {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0;
}
.bazar-card .bazar-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.bazar-card .bazar-card-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #758180;
}
.bazar-card .bazar-card-location i {
  color: #96a3a1;
}
.bazar-card .bazar-card-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 7px;
  line-height: 1.3;
  min-height: 36px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bazar-card .bazar-card-desc {
  font-size: 12px;
  line-height: 1.55;
  color: #888;
  margin-bottom: 10px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.bazar-card .bazar-card-meta {
  font-size: 11px;
  color: #aaa;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.bazar-card .bazar-card-meta span {
  white-space: nowrap;
}
.bazar-card .bazar-card-meta .bazar-card-attr {
  white-space: normal;
  max-width: 100%;
}
.bazar-card .bazar-card-meta i {
  margin-right: 3px;
}

@media (max-width: 576px) {
  .bazar-card .bazar-card-price-row {
    flex-wrap: nowrap;
    align-items: center;
  }
  .bazar-card .bazar-card-price {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .bazar-card .bazar-card-location {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: hidden;
  }
  .bazar-card .bazar-card-location-text {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 767.98px) {
  .bazar-content {
    --bazar-inline-padding: 12px;
    padding-top: 14px;
  }
  .bazar-mobile-toggles {
    margin-bottom: 10px !important;
  }
  .bazar-grid,
  .bazar-catalog-layout.has-map .bazar-grid,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-grid {
    gap: 8px;
  }
  .bazar-card,
  .bazar-catalog-layout.has-map .bazar-card,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 14px;
  }
  .bazar-card .bazar-card-img,
  .bazar-catalog-layout.has-map .bazar-card .bazar-card-img,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-img {
    flex: 0 0 42%;
    width: 42%;
    min-height: 118px;
    padding-top: 0;
    border-right: 1px solid rgba(216, 225, 224, 0.9);
  }
  .bazar-card .bazar-card-body,
  .bazar-catalog-layout.has-map .bazar-card .bazar-card-body,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-body {
    min-width: 0;
    padding: 10px 11px;
    gap: 4px;
  }
  .bazar-card .bazar-card-price-row {
    margin-bottom: 2px;
    gap: 4px 8px;
  }
  .bazar-card .bazar-card-price {
    font-size: 0.95rem;
  }
  .bazar-card .bazar-card-location {
    font-size: 11px;
  }
  .bazar-card .bazar-card-title,
  .bazar-catalog-layout.has-map .bazar-card .bazar-card-title,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-title {
    margin-bottom: 2px;
    min-height: 0;
    font-size: 13px;
    line-height: 1.28;
  }
  .bazar-card .bazar-card-desc,
  .bazar-catalog-layout.has-map .bazar-card .bazar-card-desc,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-desc {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .bazar-card .bazar-card-meta {
    gap: 4px 8px;
    font-size: 10px;
  }
}
@media (max-width: 420px) {
  .bazar-content {
    --bazar-inline-padding: 10px;
  }
  .bazar-card .bazar-card-img,
  .bazar-catalog-layout.has-map .bazar-card .bazar-card-img,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-img {
    flex-basis: 40%;
    width: 40%;
    min-height: 108px;
  }
  .bazar-card .bazar-card-body,
  .bazar-catalog-layout.has-map .bazar-card .bazar-card-body,
  .bazar-catalog-layout.has-map:not(.is-mobile-map-view) .bazar-card .bazar-card-body {
    padding: 9px 10px;
  }
}
/* Pagination
***************************/
.bazar-pagination {
  margin-top: 30px;
}

/* Map column
***************************/
.bazar-map-col {
  align-self: start;
  position: sticky;
  top: 59px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: calc(100vh - 75px);
}
.bazar-map-col.is-collapsed {
  height: auto !important;
}
.bazar-map-col.is-collapsed .bazar-map-panel {
  display: none;
}
.bazar-map-col.is-collapsed .bazar-map-shell {
  flex: 0 0 auto;
  min-height: 38px;
}
.bazar-map-col.is-collapsed .bazar-map-toolbar {
  position: static;
  justify-content: flex-end;
}
.bazar-map-col.has-open-popup .bazar-map-toolbar,
.bazar-map-col.has-open-popup .bazar-map-mobile-action,
.bazar-map-col.has-open-popup .leaflet-top,
.bazar-map-col.has-open-popup .leaflet-bottom {
  z-index: 900;
}
.bazar-map-col.has-open-popup .bazar-map-panel {
  overflow: visible;
}
.bazar-map-col.has-open-popup .bazar-map-panel #bazar-map {
  overflow: visible;
}
.bazar-map-col.has-open-popup .bazar-map-panel .leaflet-popup-pane {
  z-index: 1100;
}

.bazar-map-shell {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.bazar-map-cta-btn {
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(24, 32, 32, 0.12);
}

.bazar-map-toolbar {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  z-index: 1002;
}
.bazar-map-toolbar .btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(31, 38, 38, 0.12);
}
.bazar-map-toolbar .btn.is-active {
  color: #176469;
  border-color: rgba(216, 225, 224, 0.95);
  background: rgba(255, 255, 255, 0.96);
}

.bazar-map-mobile-action {
  display: none;
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  justify-content: center;
  z-index: 1005;
  pointer-events: none;
}
.bazar-map-mobile-action .btn {
  min-width: 170px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(24, 32, 32, 0.18), 0 4px 12px rgba(24, 32, 32, 0.1);
  pointer-events: auto;
}

@media (max-width: 992px) {
  .bazar-catalog-layout.is-mobile-map-view .bazar-map-mobile-action {
    display: flex;
  }
}
.bazar-map-panel {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(216, 225, 224, 0.92);
  box-shadow: 0 16px 40px rgba(33, 44, 44, 0.06);
}
.bazar-map-panel #bazar-map {
  height: 100%;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
}
.bazar-map-panel .leaflet-popup-pane {
  z-index: 1010;
}

.bazar-map-empty-state {
  display: none;
  position: absolute;
  inset: 24px;
  z-index: 3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  border: 1px dashed rgba(150, 163, 161, 0.48);
  background: rgba(247, 249, 248, 0.94);
  color: #6f7c7a;
  text-align: center;
  pointer-events: none;
}
.bazar-map-empty-state i {
  font-size: 28px;
  color: #96a3a1;
}
.bazar-map-empty-state p {
  margin: 0;
  max-width: 240px;
  font-size: 14px;
  line-height: 1.5;
}

.bazar-map-col.is-empty .bazar-map-empty-state {
  display: flex;
}

.leaflet-marker-icon.bazar-map-marker {
  width: 28px !important;
  height: 38px !important;
  margin-left: -14px !important;
  margin-top: -38px !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}
.leaflet-marker-icon.bazar-map-marker .bazar-map-marker__pin {
  position: relative;
  display: block;
  width: 28px;
  height: 38px;
  transform-origin: 50% 100%;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.leaflet-marker-icon.bazar-map-marker .bazar-map-marker__base {
  display: block;
  width: 28px;
  height: 38px;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.leaflet-marker-icon.bazar-map-marker .bazar-map-marker__icon {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f6267;
  font-size: 10px;
  line-height: 1;
  background-color: white;
  border-radius: 50px;
}
.leaflet-marker-icon.bazar-map-marker .bazar-map-marker__icon .fa,
.leaflet-marker-icon.bazar-map-marker .bazar-map-marker__icon i,
.leaflet-marker-icon.bazar-map-marker .bazar-map-marker__icon svg {
  width: 13px;
  height: 13px;
  font-size: 12px;
}

.leaflet-marker-icon.bazar-map-marker.is-active .bazar-map-marker__pin {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 10px rgba(31, 98, 103, 0.18));
}
.leaflet-marker-icon.bazar-map-marker.is-active .bazar-map-marker__icon {
  color: #e95a61;
}

.bazar-map-panel .marker-cluster.active {
  background-color: #e95a61 !important;
  box-shadow: 0 0 0 4px rgba(233, 90, 97, 0.18);
}

/* Map toggle button (desktop floating)
***************************/
.bazar-map-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background: #fff;
  border: 1px solid #dee4ea;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.bazar-map-btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #76ccd1;
  color: #76ccd1;
}
.bazar-map-btn i {
  margin-right: 6px;
}

/* Map popup
***************************/
.bazar-map-popup .leaflet-popup-content {
  margin: 12px;
}

.bazar-popup {
  width: min(320px, 78vw);
  max-width: 320px;
  font-size: 13px;
}

.bazar-popup-media {
  display: block;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef3f1;
}

.bazar-popup-media--placeholder {
  text-decoration: none;
}

.bazar-popup-thumb {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
  background: #eef3f1;
}

.bazar-popup-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b5c1be;
}

.bazar-popup-info {
  min-width: 0;
}

.bazar-popup-category {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e7d7b;
}

.bazar-popup-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.bazar-popup-price {
  font-weight: 700;
  font-size: 16px;
  color: #1f2626;
}

.bazar-popup-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #758180;
}
.bazar-popup-location i {
  color: #96a3a1;
}

.bazar-popup-location-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bazar-popup-title {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #26302f;
}

.bazar-popup-desc {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: #6f7a79;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bazar-popup-meta {
  font-size: 11px;
  color: #8a9795;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.bazar-popup-meta span {
  white-space: nowrap;
}
.bazar-popup-meta .bazar-card-attr {
  white-space: normal;
  max-width: 100%;
}
.bazar-popup-meta i {
  margin-right: 3px;
}

.bazar-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #176469;
  text-decoration: none;
}
.bazar-popup-link:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .bazar-popup {
    width: min(252px, 74vw);
  }
  .bazar-popup-thumb {
    height: 148px;
  }
}
/* ==========================================================================
   Detail page
   ========================================================================== */
.bazar-detail-page {
  padding-top: 24px;
  padding-bottom: 88px;
  position: relative;
  isolation: isolate;
  background: radial-gradient(circle at top left, rgba(118, 204, 209, 0.14), transparent 34%), linear-gradient(180deg, #fcfdfb 0%, #f4f7f5 100%);
}
.bazar-detail-page .container.bazar-detail-container {
  max-width: 1540px;
  padding-left: 24px;
  padding-right: 24px;
}

.bazar-warning-not-available {
  width: calc(100% - 48px);
  max-width: 1540px;
  margin: 0 auto 24px;
  padding: 18px 22px;
  box-sizing: border-box;
  border: 1px solid #efb8b3;
  border-left: 6px solid #c84037;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff4f2 0%, #ffe5e2 100%);
  box-shadow: 0 20px 48px rgba(164, 45, 38, 0.12);
  color: #8f241e;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .bazar-warning-not-available {
    width: calc(100% - 24px);
    padding: 16px 18px;
    border-left-width: 5px;
    border-radius: 16px;
  }
}
/* Detail header (title + price)
***************************/
.bazar-detail-header {
  margin-bottom: 14px;
  padding: 0;
}

.bazar-detail-header-copy {
  min-width: 0;
  max-width: 860px;
}

.bazar-detail-overline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #70807d;
}

.bazar-detail-overline > * {
  position: relative;
}

.bazar-detail-overline > * + * {
  padding-left: 18px;
}

.bazar-detail-overline > * + *::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bcc7c5;
  transform: translateY(-50%);
}

.bazar-detail-backlink,
.bazar-detail-overline-link,
.bazar-detail-overline-item,
.bazar-detail-negotiable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  color: #70807d;
}

.bazar-detail-backlink {
  text-decoration: none;
  color: #176469;
}
.bazar-detail-backlink:hover {
  color: #176469;
  opacity: 0.78;
  text-decoration: none;
}

.bazar-detail-overline-link {
  text-decoration: none;
  color: #2d4c4f;
}
.bazar-detail-overline-link:hover {
  color: #176469;
  text-decoration: none;
}

.bazar-detail-category-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(92, 204, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(92, 204, 210, 0.18);
  color: #2da8af;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.bazar-detail-category-badge:hover {
  color: #176469;
  text-decoration: none;
  background: rgba(92, 204, 210, 0.16);
}

.bazar-detail-negotiable {
  font-size: 0.92rem;
  font-weight: 500;
  color: #8d9994;
}

.bazar-detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(92, 204, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(92, 204, 210, 0.18);
  color: #2da8af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bazar-detail-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 12px 0 12px 0px;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: #1f2626;
}

.bazar-detail-category {
  margin-bottom: 10px;
}

.bazar-detail-pricing {
  display: grid;
  gap: 0;
}

.bazar-detail-price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8a89;
}

.bazar-detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 0;
}

.bazar-detail-price {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 600;
  color: #495756;
  line-height: 1.1;
}

.bazar-detail-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #7b8786;
  line-height: 1.2;
}
.bazar-detail-location i {
  color: #7fbcc0;
  font-size: 0.9em;
}

.bazar-detail-location-text {
  display: block;
}

/* Gallery
***************************/
.bazar-gallery {
  margin-bottom: 20px;
}
.bazar-gallery.bazar-detail-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bazar-detail-card {
  padding: 22px 24px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(33, 44, 44, 0.06);
}

.bazar-detail-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.bazar-detail-card-head h2 {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2626;
}

.bazar-gallery .gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 10px;
}
.bazar-gallery .gallery-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 8/4;
  border-radius: 20px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  background: #eef3f1;
}
.bazar-gallery .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
  transition: transform 0.2s ease;
}
.bazar-gallery .gallery-main:hover img {
  transform: scale(1.02);
}
.bazar-gallery .gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.bazar-gallery .gallery-side .gallery-side-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 18px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  background: #eef3f1;
}
.bazar-gallery .gallery-side .gallery-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.bazar-gallery .gallery-side .gallery-side-item:hover img {
  opacity: 0.85;
  transform: scale(1.03);
}
.bazar-gallery .gallery-side .gallery-side-item.gallery-more .gallery-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  border-radius: inherit;
}
.bazar-gallery .gallery-side .gallery-side-item.gallery-more .gallery-more-overlay span {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}
.bazar-gallery .gallery-side .gallery-side-item.gallery-more:hover .gallery-more-overlay {
  background: rgba(0, 0, 0, 0.6);
}
.bazar-gallery .gallery-placeholder {
  background: linear-gradient(180deg, #f7f9f8 0%, #edf3f1 100%);
  border-radius: 20px;
  border: 1px dashed rgba(118, 204, 209, 0.35);
  padding: 60px 20px;
  text-align: center;
  color: #ccc;
}
.bazar-gallery .gallery-placeholder p {
  margin-top: 10px;
  color: #999;
}

.bazar-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.bazar-detail-main,
.bazar-detail-sidebar {
  min-width: 0;
}

/* Sections
***************************/
.bazar-section {
  margin-bottom: 20px;
}
.bazar-section:last-child {
  margin-bottom: 0;
}

.bazar-description {
  font-size: 15px;
  line-height: 1.8;
  color: #42504f;
}
.bazar-description p:last-child {
  margin-bottom: 0;
}

.bazar-detail-combined-card .bazar-detail-card-section + .bazar-detail-card-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e8efed;
}

/* Params grid
***************************/
.bazar-params-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}

.bazar-param-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #e9efed;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfc 0%, #f7f9f8 100%);
}

.bazar-param-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.bazar-param-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(92, 204, 210, 0.18);
  background: rgba(92, 204, 210, 0.1);
  color: #7ea3a0;
}

.bazar-param-name {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #71817f;
}

.bazar-param-value {
  margin-top: 10px;
  padding-left: 42px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #2f3d3c;
}
.bazar-param-value i {
  margin-right: 6px;
}

/* Info card (sidebar)
***************************/
.bazar-info-card {
  border: 1px solid rgba(116, 203, 208, 0.24);
  border-radius: 22px;
  padding: 24px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfefe 100%);
  position: sticky;
  top: 65px;
  box-shadow: 0 20px 44px rgba(30, 56, 64, 0.08);
}
.bazar-info-card .bazar-detail-kicker {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(92, 204, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(92, 204, 210, 0.18);
  color: #2da8af;
  font-size: 11px;
}

.bazar-info-card-head {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(215, 225, 227, 0.9);
}
.bazar-info-card-head h2 {
  margin: 10px 0 8px;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.2;
  color: #28345d;
}
.bazar-info-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6f7b95;
}

.bazar-seller-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(215, 225, 227, 0.9);
}

.bazar-seller-avatar-link {
  flex: 0 0 76px;
  text-decoration: none;
}

.bazar-seller-avatar {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(116, 203, 208, 0.24);
  background: linear-gradient(180deg, #f5fbfb 0%, #eaf6f6 100%);
  box-shadow: 0 12px 22px rgba(30, 56, 64, 0.08);
}
.bazar-seller-avatar > img:not(.bazar-seller-rank-icon) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bazar-seller-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #7aa3a7;
  font-size: 30px;
}

.bazar-seller-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.bazar-seller-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #819096;
}

.bazar-seller-name {
  font-size: 1.1rem;
  line-height: 1.2;
  color: #21393d;
}
.bazar-seller-name a {
  color: inherit;
  text-decoration: none;
}
.bazar-seller-name a:hover {
  text-decoration: underline;
}

.bazar-seller-rank-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.bazar-seller-items-link {
  font-size: 13px;
  line-height: 1.45;
  color: #5f6a84;
  text-decoration: none;
}
.bazar-seller-items-link:hover {
  color: #3f4c65;
  text-decoration: underline;
}

.bazar-detail-meta {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #34403f;
  margin-bottom: 0;
}
.bazar-detail-meta > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
}
.bazar-detail-meta i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0;
  flex: 0 0 32px;
  border-radius: 10px;
  border: 1px solid rgba(92, 204, 210, 0.24);
  background: rgba(92, 204, 210, 0.1);
  color: #2da8af;
}
.bazar-detail-meta a {
  color: #21666b;
  text-decoration: none;
}
.bazar-detail-meta a:hover {
  text-decoration: underline;
}

/* Owner actions
***************************/
.bazar-owner-actions {
  display: grid;
  gap: 9px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(215, 225, 227, 0.9);
}

/* Contact section
***************************/
.bazar-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(215, 225, 227, 0.9);
}

.bazar-contact-promo {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(92, 204, 210, 0.24);
  background: linear-gradient(135deg, #f4fbfb 0%, #eef8f7 100%);
}

.bazar-contact-promo-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #21393d;
}

.bazar-contact-promo-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #5f6a84;
}

#bazar-contact-hidden .btn,
#bazar-contact-detail p,
.bazar-login-prompt .btn,
.bazar-contact-promo .btn,
.bazar-owner-actions .btn {
  width: 100%;
}

#bazar-contact-hidden .btn,
.bazar-login-prompt .btn,
.bazar-contact-promo .btn,
.bazar-owner-actions .btn {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

#bazar-contact-hidden .btn.btn-success,
.bazar-login-prompt .btn.btn-primary,
.bazar-contact-promo .btn.btn-primary {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #61d1d6 0%, #53c2c8 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(83, 194, 200, 0.24);
}
#bazar-contact-hidden .btn.btn-success:hover, #bazar-contact-hidden .btn.btn-success:focus,
.bazar-login-prompt .btn.btn-primary:hover,
.bazar-login-prompt .btn.btn-primary:focus,
.bazar-contact-promo .btn.btn-primary:hover,
.bazar-contact-promo .btn.btn-primary:focus {
  border-color: transparent;
  background: linear-gradient(180deg, #56c7cd 0%, #46b6bc 100%);
  color: #fff;
  box-shadow: 0 16px 28px rgba(70, 182, 188, 0.28);
}

.bazar-owner-actions .btn.btn-primary {
  border: 1px solid rgba(92, 204, 210, 0.28);
  background: rgba(92, 204, 210, 0.12);
  color: #176469;
  box-shadow: none;
}
.bazar-owner-actions .btn.btn-primary:hover, .bazar-owner-actions .btn.btn-primary:focus {
  border-color: rgba(92, 204, 210, 0.38);
  background: rgba(92, 204, 210, 0.18);
  color: #15585c;
}

.bazar-owner-actions .btn.btn-warning {
  border: 1px solid rgba(88, 178, 139, 0.24);
  background: #eef8f3;
  color: #24694f;
  box-shadow: none;
}
.bazar-owner-actions .btn.btn-warning:hover, .bazar-owner-actions .btn.btn-warning:focus {
  border-color: rgba(88, 178, 139, 0.34);
  background: #e4f4eb;
  color: #1f5a44;
}

.bazar-owner-actions .btn.btn-outline-danger {
  border: 1px solid rgba(224, 130, 130, 0.34);
  background: #fff5f5;
  color: #b24e53;
  box-shadow: none;
}
.bazar-owner-actions .btn.btn-outline-danger:hover, .bazar-owner-actions .btn.btn-outline-danger:focus {
  border-color: rgba(213, 101, 101, 0.42);
  background: #ffecec;
  color: #9c4045;
}

#bazar-contact-detail {
  display: grid;
  gap: 10px;
}

#bazar-contact-detail p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dfe8e8;
  background: #f9fcfc;
  color: #34403f;
  font-weight: 600;
}
#bazar-contact-detail p i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  border: 1px solid rgba(92, 204, 210, 0.24);
  background: rgba(92, 204, 210, 0.1);
  color: #2da8af;
}

.bazar-login-prompt {
  text-align: left;
  padding: 0;
}
.bazar-login-prompt p {
  font-size: 14px;
  line-height: 1.6;
  color: #5f6a84;
  margin-bottom: 14px;
}

/* Detail map
***************************/
#bazar-detail-map {
  border-radius: 18px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  overflow: hidden;
}

/* ==========================================================================
   Form pages (vlozit / editovat)
   ========================================================================== */
.bazar-form-page {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.bazar-form-page .form-card {
  background: #fff;
  border: 1px solid #dee4ea;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}
.bazar-form-page .form-card .form-card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef1f4;
}

.bazar-form-page.bazar-form-page-has-sidebar {
  max-width: 1240px;
}
.bazar-form-page.bazar-form-page-has-sidebar .bazar-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 32px;
  align-items: start;
}
.bazar-form-page.bazar-form-page-has-sidebar .bazar-form-main-head,
.bazar-form-page.bazar-form-page-has-sidebar .bazar-form-main {
  grid-column: 1;
  min-width: 0;
}
.bazar-form-page.bazar-form-page-has-sidebar .bazar-form-sidebar {
  grid-column: 2;
  grid-row: 1/span 2;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  position: sticky;
  top: 82px;
}

/* Category select cascade
***************************/
.category-cascading {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.category-cascading select {
  flex: 1;
  min-width: 150px;
}

/* Photo upload
***************************/
.bazar-photo-upload {
  border: 2px dashed #dee4ea;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #999;
  margin-bottom: 15px;
}
.bazar-photo-upload:hover, .bazar-photo-upload.dragover {
  border-color: #76ccd1;
  background: rgba(118, 204, 209, 0.03);
  color: #76ccd1;
}
.bazar-photo-upload i {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.bazar-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.bazar-photo-list .bazar-photo-item {
  position: relative;
  padding-top: 100%;
  border-radius: 6px;
  overflow: hidden;
  cursor: grab;
  border: 1px solid #dee4ea;
}
.bazar-photo-list .bazar-photo-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bazar-photo-list .bazar-photo-item .btn-photo-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.bazar-photo-list .bazar-photo-item:hover .btn-photo-delete {
  opacity: 1;
}
.bazar-photo-list .bazar-photo-item .photo-order {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
}

/* Location map (form)
***************************/
#bazar-location-map {
  height: 300px;
  border-radius: 8px;
  margin-top: 10px;
}

/* ==========================================================================
   My items (moje)
   ========================================================================== */
.bazar-moje-page {
  padding-bottom: 40px;
}

.bazar-moje-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 24px;
  align-items: start;
}

.bazar-moje-main {
  min-width: 0;
}

.bazar-moje-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.bazar-moje-header h1 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.15;
  color: #1f2626;
}
.bazar-moje-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.bazar-moje-panel {
  padding: 24px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(33, 44, 44, 0.06);
}

.bazar-moje-panel.bazar-moje-panel-list {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.bazar-moje-table-wrap {
  width: 100%;
  background: #fff;
  border: 1px solid #e8efee;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(31, 38, 38, 0.04);
}

.bazar-my-table {
  font-size: 14px;
  width: 100%;
  margin-bottom: 0;
}
.bazar-my-table th {
  background: #f6f8fa;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid #dee4ea;
}
.bazar-my-table td {
  padding: 10px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #eef1f4;
}
.bazar-my-table tbody tr:last-child td {
  border-bottom: 0;
}
.bazar-my-table img.rounded {
  width: 60px;
  height: 45px;
  object-fit: cover;
}

.bazar-moje-item-link {
  display: inline-block;
  font-weight: 700;
  color: #1f6267;
  text-decoration: none;
}
.bazar-moje-item-link:hover {
  color: #16565a;
  text-decoration: underline;
}

.bazar-moje-item-meta {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  color: #7a8786;
}

.bazar-thumb-placeholder {
  width: 60px;
  height: 45px;
  background: #f4f7f9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.bazar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  width: 1%;
}
.bazar-actions .btn {
  margin-right: 0;
  flex: 0 0 auto;
}

.bazar-moje-action-btn,
.bazar-moje-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  line-height: 1;
}
.bazar-moje-action-btn i,
.bazar-moje-edit-btn i {
  margin: 0;
}

.bazar-moje-list-mobile {
  display: none;
}

.bazar-moje-mobile-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(216, 225, 224, 0.92);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(33, 44, 44, 0.04);
}

.bazar-moje-mobile-media {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3f1;
}
.bazar-moje-mobile-media img,
.bazar-moje-mobile-media .bazar-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
  border-radius: inherit;
}

.bazar-moje-mobile-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bazar-moje-mobile-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.28;
  color: #1f6267;
  text-decoration: none;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bazar-moje-mobile-title:hover {
  color: #16565a;
  text-decoration: underline;
}

.bazar-moje-mobile-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
  color: #536261;
}

.bazar-moje-mobile-meta {
  display: block;
  color: #7a8786;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bazar-moje-mobile-label {
  color: #8a9695;
}

.bazar-moje-mobile-value {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  font-weight: 600;
  color: #33403f;
}

.bazar-moje-mobile-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.bazar-moje-pagination {
  margin-top: 20px;
}

.bazar-moje-side {
  width: 100%;
  max-width: 400px;
  justify-self: end;
  position: sticky;
  top: 82px;
}

.bazar-form-why {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bazar-form-why .bazar-summary-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
}
.bazar-form-why h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.22;
  color: #1f2626;
}
.bazar-form-why .bazar-landing-stats-summary {
  margin-top: 0;
  gap: 10px;
}
.bazar-form-why .bazar-landing-stat {
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  padding: 14px;
  border-radius: 16px;
}
.bazar-form-why .bazar-landing-stat i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 14px;
}
.bazar-form-why .bazar-landing-stat strong {
  font-size: 1rem;
  line-height: 1.25;
}
.bazar-form-why .bazar-landing-stat span {
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 992px) {
  .bazar-form-page.bazar-form-page-has-sidebar {
    max-width: 800px;
  }
  .bazar-form-page.bazar-form-page-has-sidebar .bazar-form-layout {
    display: block;
  }
  .bazar-form-page.bazar-form-page-has-sidebar .bazar-form-sidebar {
    display: none;
  }
  .bazar-moje-layout {
    grid-template-columns: 1fr;
  }
  .bazar-moje-side {
    display: none;
  }
}
@media (max-width: 768px) {
  .bazar-moje-page {
    margin-top: 16px !important;
    padding-bottom: 26px;
  }
  .bazar-moje-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .bazar-moje-header h1 {
    font-size: 1.55rem;
  }
  .bazar-moje-header .btn {
    width: 100%;
  }
  .bazar-moje-table-desktop {
    display: none;
  }
  .bazar-moje-list-mobile {
    display: grid;
    gap: 10px;
  }
  .bazar-moje-panel {
    padding: 18px;
    border-radius: 18px;
  }
  .bazar-moje-panel.bazar-moje-panel-list {
    padding: 0;
  }
}
@media (max-width: 576px) {
  .bazar-moje-mobile-item {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }
  .bazar-moje-mobile-media {
    min-height: 86px;
  }
  .bazar-moje-mobile-media img,
  .bazar-moje-mobile-media .bazar-thumb-placeholder {
    min-height: 86px;
  }
  .bazar-moje-mobile-actions .bazar-moje-action-btn {
    flex: 1 1 0;
  }
}
/* State badges
***************************/
.badge-state {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-state.state-active {
  background: #e8f5e9;
  color: #2e7d32;
}
.badge-state.state-disabled {
  background: #f5f5f5;
  color: #999;
}
.badge-state.state-sold {
  background: #e3f2fd;
  color: #1565c0;
}
.badge-state.state-expired {
  background: #fff3e0;
  color: #e65100;
}
.badge-state.state-deleted {
  background: #fce4ec;
  color: #c62828;
}

/* ==========================================================================
   Terms page (podminky)
   ========================================================================== */
.bazar-podminky-page .breadcrumb {
  background: transparent;
  padding: 0;
  font-size: 13px;
}
.bazar-podminky-page .breadcrumb a {
  color: #999;
}
.bazar-podminky-page .breadcrumb a:hover {
  color: #76ccd1;
  text-decoration: none;
}
.bazar-podminky-page .breadcrumb .active {
  color: #666;
}
.bazar-podminky-page .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #ccc;
}
.bazar-podminky-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.bazar-terms {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.bazar-terms h2 {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 10px;
}
.bazar-terms ol, .bazar-terms ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.bazar-terms ol li, .bazar-terms ul li {
  margin-bottom: 5px;
  line-height: 1.7;
}

/* ==========================================================================
   Empty state
   ========================================================================== */
.bazar-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}
.bazar-empty i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  color: #ddd;
}
.bazar-empty h3 {
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.bazar-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.bazar-pagination .pagination {
  gap: 4px;
}
.bazar-pagination .pagination .page-link {
  border-radius: 6px;
  border: 1px solid #dee4ea;
  color: #555;
  padding: 6px 14px;
  font-size: 14px;
}
.bazar-pagination .pagination .page-item.active .page-link {
  background-color: #76ccd1;
  border-color: #76ccd1;
  color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .bazar-params-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .bazar-detail-page {
    padding-top: 18px;
    padding-bottom: 30px;
  }
  .bazar-detail-page .container.bazar-detail-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .bazar-detail-card,
  .bazar-info-card {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .bazar-detail-title {
    font-size: 1.75rem;
  }
  .bazar-detail-price {
    font-size: 0.98rem;
  }
  .bazar-detail-price-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }
  .bazar-detail-price > span {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .bazar-detail-location {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: hidden;
    font-size: 0.88rem;
  }
  .bazar-detail-location-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bazar-gallery .gallery-main img {
    min-height: 0;
  }
  .bazar-params-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bazar-param-item {
    padding: 15px 14px;
    border-radius: 16px;
  }
  .bazar-param-head {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
  }
  .bazar-param-icon {
    width: 30px;
    height: 30px;
  }
  .bazar-param-value {
    margin-top: 8px;
    padding-left: 39px;
    font-size: 14px;
  }
  .bazar-form-page .form-card {
    padding: 15px;
  }
  .bazar-seller-profile {
    gap: 14px;
  }
  .bazar-seller-avatar-link {
    flex-basis: 68px;
  }
  .bazar-seller-avatar {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }
  .bazar-seller-rank-icon {
    right: 0;
    bottom: 0;
    width: 26px;
  }
  .bazar-moje .bazar-moje-table {
    font-size: 13px;
  }
  .bazar-moje .bazar-moje-table .item-thumb {
    width: 45px;
    height: 35px;
  }
}
@media (max-width: 992px) {
  .bazar-detail-layout,
  .bazar-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
  .bazar-info-card {
    position: static;
  }
}
