/* Seller profile v2: header, statistics, tabs and section search. Colors follow the site palette (--za-*). */
.zp {
  --zp-ink: #17191c;
  --zp-text: #46525c;
  --zp-soft: #f1f4f6;
  --zp-line: var(--za-line, #dcebf0);
  --zp-blue: #00aaf0;
  --zp-pale: #ebf9ff;
  --zp-warm: #fff5de;
  --zp-link: #006fa6;
  --zp-button: #0078b4;
  --zp-on-blue: #fff;
  --zp-muted: #546a70;
  --zp-star: #ffb020;
  /* #007dab from the mockup, darkened slightly for WCAG AA contrast on the pale badge. */
  --zp-badge: #006b94;
  --zp-badge-bg: #e6f6fe;
  --zp-surface: #fff;
  --zp-card: #f7fafc;
  --zp-track: #e2eaee;
  --zp-faint: #c8d3d9;
  --zp-placeholder: #6b7780;
  --zp-strong: #17191c;
  --zp-on-strong: #fff;
  --zp-mint: #ecf8f1;
  --zp-green: #18785b;
  --zp-green-bg: #e8f8f1;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--zp-ink);
  min-width: 0;
  padding: 24px 0 40px;
}
html[data-theme='dark'] .zp {
  --zp-ink: var(--za-ink);
  --zp-text: var(--za-muted);
  --zp-soft: var(--za-canvas);
  --zp-pale: var(--za-pale);
  --zp-warm: var(--za-warning-surface);
  --zp-link: var(--za-action);
  --zp-muted: var(--za-muted);
  --zp-button: var(--zp-blue);
  --zp-on-blue: #101b21;
  --zp-badge: var(--za-action);
  --zp-badge-bg: var(--za-pale);
  --zp-surface: var(--za-surface);
  --zp-card: var(--za-canvas);
  --zp-track: var(--za-line);
  --zp-faint: var(--za-muted);
  --zp-placeholder: var(--za-muted);
  --zp-strong: var(--za-ink);
  --zp-on-strong: var(--za-surface);
  --zp-mint: var(--za-mint);
  --zp-green: var(--za-success);
  --zp-green-bg: var(--za-mint);
}
.zp *,
.zp *::before,
.zp *::after {
  box-sizing: border-box;
}
.zp a {
  color: inherit;
}
.zp h1,
.zp h2,
.zp p {
  margin: 0;
}
.zp-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.zp-narrow {
  display: none;
}
.zp-grow {
  flex: 1;
}

/* Buttons */
.zp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font:
    700 16px/1.2 Arial,
    Helvetica,
    sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}
.zp-btn .ti {
  font-size: 20px;
}
.zp-btn--primary {
  background: var(--zp-button);
  color: var(--zp-on-blue) !important;
}
.zp-btn--primary:hover {
  filter: brightness(0.94);
}
.zp-btn--soft {
  background: var(--zp-soft);
  color: var(--zp-ink) !important;
}
.zp-btn--soft:hover {
  filter: brightness(0.97);
}
.zp-btn--outline {
  background: var(--zp-surface);
  color: var(--zp-ink) !important;
  box-shadow: inset 0 0 0 1px var(--zp-line);
}
.zp-btn--icon {
  width: 44px;
  padding: 0;
}
.zp-btn:focus-visible,
.zp a:focus-visible,
.zp summary:focus-visible,
.zp button:focus-visible,
.zp input:focus-visible,
.zp select:focus-visible {
  outline: 3px solid var(--zp-blue);
  outline-offset: 2px;
}
.zp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--zp-link) !important;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.zp-text-link:hover {
  text-decoration: underline;
}

/* Header */
.zp-head {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: start;
}
.zp-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--zp-pale);
}
.zp-avatar div,
.zp-avatar img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
}
.zp-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.zp h1 {
  font:
    700 34px/1.15 Arial,
    Helvetica,
    sans-serif;
  overflow-wrap: anywhere;
}
.zp-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--zp-badge-bg);
  color: var(--zp-badge);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.zp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 14px;
  color: var(--zp-text);
  font-size: 16px;
}
.zp-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zp-facts .ti {
  color: var(--zp-muted);
  font-size: 18px;
}
.zp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zp-actions .uni-dropdown {
  position: relative;
}
.zp-copied:empty {
  display: none;
}
.zp-copied {
  margin-top: 8px;
  color: var(--zp-link);
}

/* Statistics */
.zp-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.zp-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--zp-card);
  color: var(--zp-text);
  text-decoration: none !important;
}
.zp-stat b {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--zp-ink);
  font-size: 26px;
  line-height: 1.15;
}
.zp-stat b small {
  color: var(--zp-muted);
  font-size: 15px;
  font-weight: 400;
}
.zp-stat--active {
  background: var(--zp-pale);
}
.zp-stat--rating {
  background: var(--zp-warm);
}
a.zp-stat:hover {
  box-shadow: inset 0 0 0 2px var(--zp-blue);
}
.zp-star {
  color: var(--zp-star);
  font-size: 20px;
  align-self: center;
}
.zp-star--off {
  color: var(--zp-faint);
}
.zp-activity-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.zp-hint {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: var(--zp-muted);
  cursor: help;
}
.zp-tip {
  position: absolute;
  z-index: 30;
  right: -12px;
  bottom: calc(100% + 8px);
  width: 260px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--zp-strong);
  color: var(--zp-on-strong);
  font-size: 13px;
  line-height: 1.4;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s;
}
.zp-hint:hover + .zp-tip,
.zp-hint:focus-visible + .zp-tip,
.zp-tip.is-open {
  visibility: visible;
  opacity: 1;
}
.zp-progress {
  display: block;
  height: 6px;
  margin-top: 4px;
  border-radius: 6px;
  background: var(--zp-track);
  overflow: hidden;
}
.zp-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--zp-blue);
}

/* Tabs */
.zp-tabs {
  display: flex;
  gap: 34px;
  margin-top: 26px;
  border-bottom: 1px solid var(--zp-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.zp-tabs::-webkit-scrollbar {
  display: none;
}
.zp-tabs a {
  flex: none;
  padding: 12px 0 13px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  color: var(--zp-text) !important;
  font-size: 19px;
  text-decoration: none !important;
  white-space: nowrap;
}
.zp-tabs a small {
  color: var(--zp-muted);
  font-size: 16px;
}
.zp-tabs a[aria-current='page'] {
  border-bottom-color: var(--zp-blue);
  color: var(--zp-ink) !important;
  font-weight: 700;
}

/* Search */
.zp-panel {
  margin-top: 20px;
}
.zp-search-row {
  display: flex;
  gap: 12px;
}
.zp-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.zp-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  margin: 0;
  padding: 0 14px 0 18px;
  border: 2px solid var(--zp-blue);
  border-radius: 14px;
  background: var(--zp-surface);
  cursor: text;
}
.zp-search-box .ti {
  color: var(--zp-button);
  font-size: 22px;
}
.zp-search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: var(--zp-ink);
  font:
    17px Arial,
    Helvetica,
    sans-serif;
  outline: none;
}
.zp-search-box input::placeholder {
  color: var(--zp-placeholder);
}
.zp-scope {
  flex: none;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--zp-soft);
  color: var(--zp-muted);
  font-size: 13px;
}
.zp-search-row .zp-btn {
  min-height: 56px;
  border-radius: 14px;
}
.zp-all-filters {
  position: relative;
}
.zp-badge-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--zp-blue);
}
.zp-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 14px;
  background: var(--zp-surface);
  box-shadow: 0 12px 32px rgba(23, 25, 28, 0.16);
}
.zp-suggest h3 {
  margin: 8px 10px 4px;
  color: var(--zp-muted);
  font-size: 13px;
  font-weight: 700;
}
.zp-suggest [role='option'] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--zp-ink) !important;
  text-decoration: none !important;
}
.zp-suggest [role='option'][aria-selected='true'],
.zp-suggest [role='option']:hover {
  background: var(--zp-soft);
}
.zp-suggest img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}
.zp-suggest span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zp-suggest small {
  color: var(--zp-muted);
}
.zp-quick {
  display: none;
}

/* Filters */
.zp-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.zp-sheet-head,
.zp-sheet-foot {
  display: none;
}
.zp-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.zp-dd {
  position: relative;
}
.zp-dd summary,
.zp-dd-button,
.zp-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--zp-line);
  border-radius: 12px;
  background: var(--zp-surface);
  color: var(--zp-ink);
  font:
    16px Arial,
    Helvetica,
    sans-serif;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.zp-dd summary::-webkit-details-marker {
  display: none;
}
.zp-dd summary.is-set {
  border-color: var(--zp-blue);
  background: var(--zp-pale);
  font-weight: 700;
}
.zp-dd[open] summary .ti {
  transform: rotate(180deg);
}
.zp-dd-menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 14px;
  background: var(--zp-surface);
  box-shadow: 0 12px 32px rgba(23, 25, 28, 0.16);
}
.zp-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.zp-option:hover {
  background: var(--zp-soft);
}
.zp-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--zp-button);
}
.zp-option span {
  flex: 1;
}
.zp-option small {
  color: var(--zp-muted);
}
.zp-range {
  display: flex;
  gap: 10px;
  padding: 6px;
}
.zp-range label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  color: var(--zp-muted);
  font-size: 13px;
}
.zp-range input {
  width: 110px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--zp-line);
  border-radius: 10px;
  background: var(--zp-surface);
  color: var(--zp-ink);
  font-size: 16px;
}
.zp-sort select {
  height: 46px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--zp-text);
  font:
    16px Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
}
.zp-dd-button:disabled,
.zp-sort-button:disabled {
  color: var(--zp-placeholder);
  cursor: not-allowed;
}

/* Results */
.zp-results[aria-busy='true'] {
  opacity: 0.55;
  transition: opacity 0.15s;
}
.zp-resultbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
}
.zp-found {
  font-size: 17px;
}
.zp-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zp-active a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--zp-pale);
  color: var(--zp-badge) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.zp-active a.zp-reset {
  background: none;
  color: var(--zp-link) !important;
  font-weight: 400;
}
.zp-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--zp-link);
  font:
    15px Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
}
.zp-save:hover span {
  text-decoration: underline;
}
.zp-save[aria-busy='true'] {
  opacity: 0.6;
}
.zp-view {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--zp-soft);
}
.zp-view a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--zp-text) !important;
  text-decoration: none !important;
}
.zp-view a[aria-current='true'] {
  background: var(--zp-surface);
  color: var(--zp-ink) !important;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(23, 25, 28, 0.12);
}
.zp-view .ti {
  font-size: 18px;
}
.zp-chips-wrap {
  position: relative;
  margin-top: 14px;
}
.zp-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.zp-chips::-webkit-scrollbar {
  display: none;
}
.zp-chips a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 21px;
  background: var(--zp-soft);
  color: var(--zp-ink) !important;
  font-size: 16px;
  text-decoration: none !important;
  white-space: nowrap;
}
.zp-chips a small {
  color: var(--zp-muted);
  font-size: 15px;
}
.zp-chips a[aria-current='true'] {
  background: var(--zp-strong);
  color: var(--zp-on-strong) !important;
}
.zp-chips a[aria-current='true'] small {
  color: var(--zp-on-strong);
  opacity: 0.8;
}
.zp-chips-arrow {
  position: absolute;
  z-index: 2;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--zp-surface);
  box-shadow: 0 2px 10px rgba(23, 25, 28, 0.18);
  color: var(--zp-ink);
  cursor: pointer;
}
.zp-chips-prev {
  left: -6px;
}
.zp-chips-next {
  right: -6px;
}
.zp-load-error {
  margin-top: 12px;
  color: var(--za-error, #b3261e);
}
.zp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 20px;
  margin-top: 20px;
}
.zp-grid > * {
  min-width: 0;
}
.zp-list {
  margin-top: 14px;
}
.zp-row {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--zp-line);
}
.zp-row-photo {
  position: relative;
  display: block;
  width: 232px;
  height: 174px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--zp-soft);
}
.zp-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zp-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--zp-strong);
  color: var(--zp-on-strong);
  font-size: 12px;
  font-weight: 700;
}
.zp-row-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.zp-row-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.zp-row-title {
  flex: 1;
  min-width: 0;
  color: var(--zp-ink) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
}
.zp-row-title:hover {
  color: var(--zp-link) !important;
}
.zp-heart {
  flex: none;
  display: inline-flex;
  padding: 2px;
  border: 0;
  background: none;
  color: var(--zp-ink);
  font-size: 24px;
  cursor: pointer;
}
.zp-row-price {
  font-size: 23px;
  font-weight: 700;
}
.zp-row-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--zp-text);
  font-size: 15px;
  line-height: 1.45;
}
.zp-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--zp-soft);
  font-size: 14px;
}
.zp-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: auto;
  color: var(--zp-muted);
  font-size: 14px;
}
.zp-row-meta .ti {
  font-size: 15px;
}
.zp-row-meta .zp-star {
  font-size: 15px;
}
.zp-sep {
  margin: 0 4px;
}
.zp-row-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zp-pages {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.zp-pages .zp-btn[aria-busy='true'] {
  opacity: 0.6;
  pointer-events: none;
}

/* Empty states */
.zp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 44px 20px;
  text-align: center;
}
.zp-empty--box {
  border: 2px dashed var(--zp-line);
  border-radius: 18px;
}
.zp-empty h2 {
  font-size: 22px;
  line-height: 1.3;
}
.zp-empty p {
  max-width: 640px;
  color: var(--zp-text);
  font-size: 17px;
  line-height: 1.6;
}
.zp-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
  border-radius: 18px;
  background: var(--zp-pale);
  color: var(--zp-button);
  font-size: 34px;
}
.zp-empty-icon--star {
  background: var(--zp-warm);
  color: #8c5a0a;
}
.zp-empty-actions,
.zp-empty .zp-btn {
  margin-top: 8px;
}
.zp-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.zp-more-listings {
  margin-top: 36px;
}
.zp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}
.zp-section-head h2 {
  font-size: 26px;
}
.zp-section-head h2 small {
  color: var(--zp-muted);
  font-size: 19px;
  font-weight: 400;
}

/* Reviews */
.zp-reviews {
  display: grid;
  grid-template-columns: 392px minmax(0, 1fr);
  gap: 30px;
  margin-top: 24px;
}
.zp-review-summary {
  align-self: start;
  padding: 28px 24px;
  border: 1px solid var(--zp-line);
  border-radius: 18px;
}
.zp-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.zp-score b {
  font-size: 40px;
}
.zp-score span {
  color: var(--zp-text);
  font-size: 19px;
}
.zp-stars {
  display: flex;
  gap: 4px;
  margin: 10px 0 18px;
  color: var(--zp-star);
  font-size: 20px;
}
.zp-stars .is-off {
  color: var(--zp-faint);
}
.zp-bars {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zp-bars li {
  display: grid;
  grid-template-columns: 32px 1fr 28px;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}
.zp-bars small {
  color: var(--zp-muted);
  font-size: 16px;
  text-align: right;
}
.zp-bar {
  height: 8px;
  border-radius: 8px;
  background: var(--zp-track);
  overflow: hidden;
}
.zp-bar i {
  display: block;
  height: 100%;
  background: var(--zp-star);
}
.zp-note {
  margin-top: 18px !important;
  color: var(--zp-text);
  font-size: 15px;
  line-height: 1.5;
}
.zp-review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zp-review-main .zp-empty {
  margin-top: 18px;
}
.zp-review + .zp-review {
  margin-top: 18px;
}

/* About */
.zp-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}
.zp-about-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.zp-about-text {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.zp-handover {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zp-handover li {
  display: flex;
  gap: 14px;
}
.zp-handover li > .ti {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--zp-pale);
  color: var(--zp-button);
  font-size: 20px;
}
.zp-handover div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
}
.zp-handover span {
  color: var(--zp-text);
}
.zp-card--safe {
  background: var(--zp-green-bg);
  border-color: transparent;
}
.zp-card--safe h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zp-green);
}
.zp-card--safe p {
  margin-bottom: 12px;
  color: var(--zp-ink);
  line-height: 1.55;
}
.zp-card {
  padding: 24px;
  border: 1px solid var(--zp-line);
  border-radius: 18px;
}
.zp-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
}
.zp-details {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px 8px;
  margin: 0 0 18px;
  font-size: 16px;
}
.zp-details dt {
  color: var(--zp-muted);
  font-size: 20px;
}
.zp-details dd {
  margin: 0;
  align-self: center;
}

/* Wide screens keep 5 columns; narrower layouts step down. */
@media (max-width: 1199px) {
  .zp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zp-head {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .zp-actions {
    grid-column: 1 / -1;
  }
  .zp-filters {
    flex-wrap: wrap;
  }
}
@media (max-width: 991px) {
  .zp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .zp-stats {
    gap: 10px;
  }
  .zp-stat {
    padding: 14px;
  }
  .zp-reviews {
    grid-template-columns: 1fr;
  }
  .zp-row {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .zp-row-photo {
    width: 180px;
    height: 135px;
  }
  .zp-row-actions {
    grid-column: 2;
    flex-direction: row;
  }
}

/* Phone */
@media (max-width: 767px) {
  .zp {
    padding-top: 12px;
  }
  .zp-wide,
  .zp-desktop {
    display: none !important;
  }
  .zp-narrow {
    display: inline;
  }
  .zp-head {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }
  .zp-avatar {
    width: 64px;
    height: 64px;
  }
  .zp h1 {
    font-size: 24px;
  }
  .zp-title {
    gap: 6px;
  }
  .zp-facts {
    gap: 4px 12px;
    margin-top: 6px;
    font-size: 14px;
  }
  .zp-fact-response {
    display: none !important;
  }
  .zp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 44px 44px;
    gap: 8px;
  }
  .zp-actions .zp-btn {
    padding: 0 10px;
  }
  .zp-actions .zp-btn--primary .ti {
    display: none;
  }
  .zp-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }
  .zp-stat {
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
  }
  .zp-stat b {
    justify-content: center;
    font-size: 18px;
  }
  .zp-stat b small {
    color: var(--zp-ink);
    font-size: 18px;
    font-weight: 700;
  }
  .zp-stat b .zp-star {
    font-size: 15px;
  }
  .zp-stat--activity {
    background: var(--zp-mint);
  }
  .zp-activity-label {
    position: static;
  }
  .zp-hint,
  .zp-tip {
    display: none;
  }
  .zp-tabs {
    position: sticky;
    z-index: 20;
    top: 0;
    gap: 22px;
    margin-top: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
    background: var(--zp-surface);
  }
  .zp-tabs a {
    font-size: 16px;
  }
  .zp-tabs a small {
    font-size: 14px;
  }
  .zp-panel {
    margin-top: 14px;
  }
  .zp-search-row {
    gap: 8px;
  }
  .zp-search-box {
    height: 48px;
    padding: 0 12px;
  }
  .zp-search-box input {
    font-size: 16px;
  }
  .zp-scope,
  .zp-find {
    display: none !important;
  }
  .zp-search-row .zp-btn {
    min-height: 48px;
  }
  .zp-all-filters {
    width: 48px;
    padding: 0;
  }
  .zp-quick {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .zp-quick-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: var(--zp-soft);
    color: var(--zp-ink) !important;
    font:
      14px Arial,
      Helvetica,
      sans-serif;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
  }
  .zp-quick-chip.is-accent,
  .zp-quick-chip.is-set {
    background: var(--zp-pale);
    color: var(--zp-badge) !important;
    font-weight: 700;
  }
  .zp-filters:not(.is-sheet) {
    display: none;
  }
  .zp-resultbar {
    margin-top: 12px;
    gap: 8px;
  }
  .zp-found {
    font-size: 14px;
    font-weight: 400;
    color: var(--zp-text);
  }
  .zp-active {
    display: none;
  }
  .zp-view a {
    min-height: 32px;
    padding: 0 8px;
  }
  .zp-chips-wrap {
    margin-top: 10px;
  }
  .zp-chips a {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }
  .zp-chips-arrow {
    display: none !important;
  }
  .zp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-top: 14px;
  }
  .zp-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
  }
  .zp-row-photo {
    width: 120px;
    height: 110px;
    border-radius: 10px;
  }
  .zp-row-title {
    font-size: 15px;
  }
  .zp-heart {
    font-size: 21px;
  }
  .zp-row-price {
    font-size: 17px;
  }
  .zp-row-desc,
  .zp-row-tags,
  .zp-row-actions,
  .zp-row-meta > :not(.ti):not(:last-child) {
    display: none;
  }
  .zp-row-meta {
    gap: 4px;
  }
  .zp-empty {
    padding: 28px 16px;
  }
  .zp-empty h2 {
    font-size: 18px;
  }
  .zp-empty p {
    font-size: 15px;
  }
  .zp-empty-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  .zp-section-head h2 {
    font-size: 20px;
  }
  .zp-section-head h2 small {
    font-size: 15px;
  }
  .zp-reviews {
    gap: 16px;
    margin-top: 16px;
  }
  .zp-review-summary {
    padding: 18px;
  }
  .zp-review-filters {
    display: none;
  }

  /* Filter sheet */
  .zp-filters.is-sheet {
    position: fixed;
    z-index: 1001;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    max-height: 86vh;
    margin: 0;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    background: var(--zp-surface);
    box-shadow: 0 -12px 32px rgba(23, 25, 28, 0.2);
  }
  .zp-filters.is-sheet .zp-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 8px;
    font-size: 18px;
  }
  .zp-sheet-close {
    display: inline-flex;
    padding: 8px;
    border: 0;
    background: none;
    color: var(--zp-ink);
    font-size: 22px;
  }
  .zp-filters.is-sheet .zp-filter-list {
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    overflow-y: auto;
  }
  .zp-filters.is-sheet .zp-dd {
    border-bottom: 1px solid var(--zp-line);
  }
  .zp-filters.is-sheet .zp-dd summary {
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0;
    border: 0;
    background: none;
    font-weight: 700;
  }
  .zp-filters.is-sheet .zp-dd-menu {
    position: static;
    min-width: 0;
    max-height: none;
    padding: 0 0 10px;
    box-shadow: none;
  }
  .zp-filters.is-sheet .zp-sort {
    padding: 10px 0;
  }
  .zp-filters.is-sheet .zp-sort select {
    width: 100%;
    border: 1px solid var(--zp-line);
    border-radius: 12px;
  }
  .zp-filters.is-sheet .zp-sheet-foot {
    display: flex;
    gap: 10px;
    padding-top: 12px;
  }
  .zp-filters.is-sheet .zp-sheet-foot .zp-btn {
    flex: 1;
  }
  .zp-range input {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .zp-tabs {
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px;
  }
}
.zp-sheet-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(23, 25, 28, 0.45);
}
html.zp-locked {
  overflow: hidden;
}

/* Completed listings */
.zp-row--done {
  grid-template-columns: 160px minmax(0, 1fr);
}
.zp-row--done .zp-row-photo {
  width: 160px;
  height: 120px;
}
.zp-row--done .zp-row-photo img {
  opacity: 0.85;
}
.zp-row--done .zp-row-price {
  font-size: 19px;
}
.zp-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zp-state {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}
.zp-state--sold {
  background: var(--zp-green-bg);
  color: var(--zp-green);
}
.zp-state--removed {
  background: var(--zp-soft);
  color: var(--zp-text);
}

/* Reviews list */
.zp-review-main .zp-search {
  margin-bottom: 4px;
}
.zp-review-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.zp-review {
  padding: 20px;
  border: 1px solid var(--zp-line);
  border-radius: 16px;
}
.zp-review + .zp-review {
  margin-top: 0;
}
.zp-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.zp-review-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--zp-pale);
}
.zp-review-who {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.zp-review-author {
  color: var(--zp-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.zp-review-author:hover {
  color: var(--zp-link) !important;
}
.zp-review-who span {
  color: var(--zp-muted);
  font-size: 14px;
}
.zp-review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--zp-star);
}
.zp-review-stars .is-off {
  color: var(--zp-faint);
}
.zp-review-item {
  margin-top: 12px !important;
  color: var(--zp-text);
  font-size: 15px;
}
.zp-review-item a {
  color: var(--zp-link) !important;
}
.zp-review-text {
  margin-top: 10px !important;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.zp-reply {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--zp-blue);
  border-radius: 0 12px 12px 0;
  background: var(--zp-card);
}
.zp-reply-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 15px;
}
.zp-reply-head span {
  color: var(--zp-muted);
}
.zp-reply p {
  margin-top: 6px !important;
  line-height: 1.5;
}
.zp-bars a,
.zp-bars-row {
  display: grid;
  grid-template-columns: 32px 1fr 28px;
  align-items: center;
  gap: 10px;
  color: inherit !important;
  text-decoration: none !important;
}
.zp-bars a:hover .zp-bar {
  outline: 2px solid var(--zp-blue);
}
.zp-bars li {
  display: block;
}

/* Portfolio */
.zp-works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.zp-work {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--zp-line);
  border-radius: 18px;
  overflow: hidden;
}
.zp-work-collage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 4 / 3;
}
.zp-work-collage--1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.zp-work-collage--2 {
  grid-template-rows: 1fr;
}
.zp-work-photo {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: var(--zp-soft);
}
.zp-work-photo--main {
  grid-row: 1 / -1;
}
.zp-work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zp-work-photo b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zp-strong);
  color: var(--zp-on-strong);
  font-size: 20px;
  opacity: 0.72;
}
.zp-work-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}
.zp-work-body .zp-tag {
  align-self: flex-start;
}
.zp-work-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.zp-work-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--zp-text);
  line-height: 1.5;
}
.zp-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  color: var(--zp-muted);
  font-size: 14px;
}
.zp-work-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 991px) {
  .zp-about {
    grid-template-columns: 1fr;
  }
  .zp-works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .zp-works {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .zp-row--done {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .zp-row--done .zp-row-photo {
    width: 110px;
    height: 90px;
  }
  .zp-row--done .zp-row-tags {
    display: flex;
  }
  .zp-review {
    padding: 14px;
  }
  .zp-review-head {
    flex-wrap: wrap;
  }
  .zp-card {
    padding: 18px;
  }
}
