/* Seller profile — 1:1 with Oglasi / O prodavcu / Kontakt mockups */

.seller-page {
  background: var(--canvas);
  padding-bottom: 4rem;
}

.seller-cover {
  position: relative;
  height: 240px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 10, 28, 0.25) 0%, rgba(12, 10, 28, 0.55) 100%),
    url("https://images.unsplash.com/photo-1563720223185-11003d516935?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
}

.seller-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-cover:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 28, 0.18) 0%, rgba(12, 10, 28, 0.48) 100%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .seller-cover {
    height: 300px;
  }
}

.seller-profile-wrap {
  max-width: var(--site-max);
  margin: -64px auto 0;
  padding: 0 var(--site-gutter);
  position: relative;
  z-index: 2;
}

.seller-profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 960px) {
  .seller-profile-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 1.75rem 1.5rem;
  }
}

.seller-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.35rem;
  position: relative;
  overflow: visible;
  border: 4px solid #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  margin-top: -52px;
  flex-shrink: 0;
}

.seller-avatar > img,
.seller-avatar > span.av-text {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #171717;
}

@media (min-width: 960px) {
  .seller-avatar {
    width: 112px;
    height: 112px;
    margin-top: -64px;
    font-size: 1.5rem;
  }
}

.seller-avatar .v-badge {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2f80ed;
  border: 2.5px solid #fff;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 2;
}

.seller-id h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.seller-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--success-soft);
  color: var(--success-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.badge-verified .ico {
  color: var(--success);
}

.badge-muted {
  color: var(--muted-2);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d1d5db;
}

.seller-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  color: var(--muted-2);
  font-size: 0.875rem;
  font-weight: 500;
}

.seller-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.seller-meta .ico {
  color: var(--muted);
}

.seller-meta .meta-star .ico {
  color: var(--star);
}

.seller-meta .meta-fast {
  color: var(--success-ink);
  font-weight: 600;
}

.seller-meta .meta-fast .ico {
  color: var(--success);
}

.seller-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.seller-cta .btn-pill {
  height: 46px;
  border-radius: var(--radius-pill);
  padding: 0 1.2rem;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.seller-cta .btn-pill.primary {
  background: var(--accent);
  color: #fff;
}

.seller-cta .btn-pill.ghost {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--ink);
}

.seller-cta .btn-pill.ghost:hover {
  border-color: #c4c7cc;
}

.seller-stats {
  max-width: var(--site-max);
  margin: 1.15rem auto 0;
  padding: 0 var(--site-gutter);
}

.seller-stats-grid {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

@media (min-width: 720px) {
  .seller-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.seller-stat {
  padding: 1.25rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 720px) {
  .seller-stat {
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }
  .seller-stat:last-child {
    border-right: 0;
  }
}

.seller-stat .n {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.seller-stat .n.accent {
  color: var(--accent);
}

.seller-stat .l {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-2);
  font-weight: 500;
}

.seller-tabs-wrap {
  max-width: var(--site-max);
  margin: 1.25rem auto 0;
  padding: 0 var(--site-gutter);
  position: sticky;
  top: 68px;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(12px);
}

.seller-tabs {
  display: flex;
  gap: 0.15rem 1.75rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}

.seller-tabs::-webkit-scrollbar {
  display: none;
}

.seller-tabs a {
  flex: 0 0 auto;
  padding: 0.95rem 0.05rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--muted-2);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.seller-tabs a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.seller-body {
  max-width: var(--site-max);
  margin: 1.5rem auto 0;
  padding: 0 var(--site-gutter);
}

/* Filters */
.seller-filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.seller-search {
  display: flex;
  gap: 0.5rem;
  background: var(--canvas);
  border-radius: 12px;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
  border: 1px solid transparent;
}

.seller-search:focus-within {
  border-color: var(--accent);
  background: #fff;
}

.seller-search .ico {
  color: var(--muted);
}

.seller-search input {
  flex: 1;
  border: 0;
  background: transparent;
  height: 42px;
  font-size: 0.9375rem;
  outline: none;
}

.seller-search button {
  height: 42px;
  padding: 0 1.25rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.seller-filter-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

@media (min-width: 860px) {
  .seller-filter-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.seller-filter-row select {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--canvas);
  padding: 0 0.85rem;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

.seller-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.9rem;
}

.tag-x {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.tag-x button {
  display: inline-flex;
  color: inherit;
  opacity: 0.75;
}

.tag-x button:hover {
  opacity: 1;
}

.reset-filters {
  margin-left: auto;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.listings-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.listings-head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
}

.chip {
  height: 34px;
  padding: 0 0.9rem;
  border-radius: var(--radius-pill);
  border: 0;
  background: #eceef2;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
}

.chip.on {
  background: var(--accent);
  color: #fff;
}

.sort-select {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.seller-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .seller-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .seller-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Ad card v2 — exact Oglasi mockup */
.ad-card.v2 {
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: none;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.ad-card.v2:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.ad-card.v2 .media {
  aspect-ratio: 4 / 3;
  position: relative;
  background: #eceef2;
}

.ad-card.v2 .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-card.v2 .media .badges {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  display: flex;
  gap: 0.35rem;
  z-index: 1;
}

.ad-card.v2 .pill {
  font-size: 0.62rem;
  font-weight: 650;
  padding: 0.14rem 0.38rem;
  border-radius: 6px;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.ad-card.v2 .pill.blue {
  background: #3b82f6;
  color: #fff;
}

.ad-card.v2 .pill.red {
  background: #ef4444;
  color: #fff;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ad-card.v2 .pill.green {
  background: #22c55e;
  color: #fff;
}

.ad-card.v2 .pill.orange {
  background: #f97316;
  color: #fff;
}

.ad-card.v2 .media .fav {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 27, 75, 0.85);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.ad-card.v2 .media .fav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ad-card.v2 .media .fav.on {
  background: var(--accent);
}

.ad-card.v2 .media .fav.on svg {
  fill: #fff;
  stroke: #fff;
}

.ad-card.v2 .media-photos {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  height: 26px;
  padding: 0 0.5rem;
  border-radius: 7px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 650;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ad-card.v2 .media-photos svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.ad-card.v2 .body {
  padding: 0.95rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.18) 0%, #ffffff 100%);
}

.ad-card.v2 .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  gap: 0.5rem;
}

.ad-card.v2 .cat,
.ad-card.v2 .loc {
  font-size: 0.75rem;
  color: #8c8c8c;
  font-weight: 500;
}

.ad-card.v2 .title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
  line-height: 1.3;
}

.ad-card.v2 .price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.ad-card.v2 .price {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ad-card.v2 .price-row.has-discount .price {
  color: #ef4444;
}

.ad-card.v2 .price-old {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.ad-card.v2 .card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 0.85rem;
  margin-top: 0.55rem;
  min-width: 0;
}

/* Mobile fact tiles — hidden on desktop */
.ad-card.v2 .card-facts {
  display: none;
}

.ad-card.v2 .meta-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ad-card.v2 .meta-top,
.ad-card.v2 .meta-bottom {
  font-size: 0.78rem;
  font-weight: 550;
  color: #4b5563;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-card.v2 .meta-top {
  padding-bottom: 0.35rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 600;
}

.ad-card.v2 .meta-top.is-blank,
.ad-card.v2 .meta-bottom.is-blank {
  min-height: 1.05em;
}

.ad-card.v2 .meta-bottom {
  color: #6b7280;
}

.ad-card.v2 .card-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px solid #eeeef3;
  min-width: 0;
}

.ad-card.v2 .card-labels-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.ad-card.v2 .card-foot-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex: 0 1 auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 600;
}

.ad-card.v2 .card-foot-loc svg {
  flex: 0 0 auto;
  color: #6b7280;
}

.ad-card.v2 .card-label-logo {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f4f6fb;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  flex: 0 0 auto;
}

.ad-card.v2 .card-label-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ad-card.v2 .card-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(26, 86, 255, 0.22);
  background: rgba(26, 86, 255, 0.06);
  color: #1a56ff;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.ad-card.v2 .card-label.feat {
  border-color: rgba(61, 42, 156, 0.28);
  background: rgba(61, 42, 156, 0.1);
  color: #3d2a9c;
}

.ad-card.v2 .spec-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
  min-width: 0;
}

.ad-card.v2 .spec-line span:not(.dot) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.ad-card.v2 .spec-line .dot {
  opacity: 0.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.pagination .on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .nav {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-weight: 500;
}

/* Split layouts */
.seller-split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .seller-split {
    grid-template-columns: 1.7fr 1fr;
    align-items: start;
    gap: 1.5rem;
  }
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.panel .panel-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 0.85rem;
}

.panel p {
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
}

.info-list {
  display: grid;
  gap: 0.85rem;
}

.info-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.info-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.info-row .k {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.info-row .v {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}

.hours-list {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
  font-weight: 500;
}

.hours-list .closed {
  color: var(--danger);
  font-weight: 600;
}

.map-box {
  position: relative;
  z-index: var(--z-map);
  isolation: isolate;
  contain: paint;
  margin-top: 0.85rem;
  border-radius: 12px;
  overflow: hidden;
  height: 168px;
  background: #e9eaee;
}

.contact-quick {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 760px) {
  .contact-quick {
    grid-template-columns: repeat(3, 1fr);
  }
}

.q-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.q-card .ico-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
  background: var(--accent-soft);
  color: var(--accent);
}

.q-card .ico-circle.green {
  background: var(--success-soft);
  color: var(--success);
}

.q-card .label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.q-card .val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
  word-break: break-word;
}

.q-card .val.green {
  color: var(--success-ink);
}

.q-card .sub {
  color: var(--muted-2);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}

.q-card a.cta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-form .form-sub {
  color: var(--muted-2);
  font-size: 0.9rem;
  margin: -0.35rem 0 1.25rem;
}

.contact-form .grid-2 {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .contact-form .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form .field:has(> .is-placeholder-label),
.contact-form .field:has(> label.is-placeholder-label) {
  gap: 0;
  margin-bottom: 0.55rem;
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.upload-box {
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  background: var(--canvas);
}

.upload-box .ico {
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.btn-block {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 0.85rem;
  text-align: center;
}

.team-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
}

.team-card .name {
  font-weight: 700;
  font-size: 0.9rem;
}

.team-card .role {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.cert-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
}

.cert-card .ico-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
}

.cert-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.cert-card p {
  font-size: 0.8125rem;
  margin: 0;
  color: var(--muted-2);
}

.reviews-empty {
  color: var(--muted-2);
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mini-stats div {
  background: var(--canvas);
  border-radius: 12px;
  padding: 0.85rem;
}

.mini-stats .n {
  font-weight: 800;
  font-size: 1.125rem;
}

.mini-stats .l {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.loc-line {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.loc-line .ico {
  color: var(--accent);
  margin-top: 0.1rem;
}

.link-accent {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.65rem;
}

/* Directory: same cards as homepage “Auto placevi” */
.sellers-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.sellers-page .sellers-grid .home-seller-card {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
}

@media (max-width: 1100px) {
  .sellers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .sellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .sellers-page .sellers-grid .home-seller-card {
    min-height: 132px;
    padding: 0.45rem 0.4rem 1.05rem;
    border-radius: 14px;
  }
}
