﻿.market-shell {
  display: grid;
  gap: 24px;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.public-shell.marketplace-page) {
    scroll-behavior: smooth;
  }
}

#marketToolbar {
  scroll-margin-top: 116px;
}

body:not(.admin-body) .market-toolbar {
  position: relative;
  background:
    linear-gradient(160deg, rgba(12, 14, 20, 0.85), rgba(5, 5, 8, 0.9)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-md), 0 22px 44px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.market-toolbar > * {
  position: relative;
  z-index: 1;
}

.market-toolbar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  gap: 12px;
  align-items: center;
}

.market-toolbar-row-chips {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: start;
}

.search-field {
  min-width: 0;
  position: relative;
}

.search-field::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.search-field::after {
  content: "";
  position: absolute;
  right: 26px;
  top: calc(50% + 5px);
  width: 8px;
  height: 2px;
  transform: rotate(-35deg);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 99px;
  pointer-events: none;
}

body:not(.admin-body) .search-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 48px 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(7, 11, 20, 0.56) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-sm);
  color: #f4f4f5;
}

.search-field input::placeholder {
  color: rgba(244, 244, 245, 0.6);
}

.search-field input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.sort-field {
  min-width: 0;
}

body:not(.admin-body) .sort-field .form-control {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: rgba(7, 11, 20, 0.56) !important;
  color: #f4f4f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-sm);
}

.sort-field .form-control:focus {
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .filter-chip {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 11, 20, 0.44);
  color: #e7daff;
  font-size: 0.89rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body:not(.admin-body) .filter-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.34);
}

body:not(.admin-body) .filter-chip.is-active {
  background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.market-shell .section-head {
  max-width: none;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
}

.market-shell .section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.1vw, 2.04rem);
  color: #f4f4f5;
}

.market-shell .section-head p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.94rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  color: inherit;
  text-decoration: none;
  background: var(--surface-card, rgba(12, 14, 20, 0.6));
  border-radius: 16px;
  border: 1px solid var(--border-card, rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  isolation: isolate;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-hover, rgba(255, 255, 255, 0.12));
  border-color: var(--border-hover, rgba(255, 255, 255, 0.12));
}

.service-card:focus-visible {
  outline: 2px solid var(--sage-500);
  outline-offset: 2px;
}

.service-cover {
  width: 100%;
  min-height: 140px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(24, 24, 27, 0.55) 100%);
  overflow: hidden;
  border: none;
  flex-shrink: 0;
}

.service-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}

.service-card:hover .service-cover img {
  transform: scale(1.06);
}

.service-card {
  padding: 16px;
  gap: 14px;
}

.service-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink-900);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.service-desc {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.87rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-price {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-500);
  line-height: 1.35;
}

.service-card-title-block {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  text-align: start;
  align-content: start;
}

.service-card-title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 10px;
  width: 100%;
  min-width: 0;
}

.service-card-title-block .service-rating-inline {
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.service-card-title-block .service-title {
  margin: 0;
  min-width: 0;
  text-align: start;
}

.service-card-title-row .service-card-price {
  flex: 0 0 auto;
  max-width: 40%;
  text-align: end;
  unicode-bidi: isolate;
  white-space: nowrap;
  align-self: flex-start;
}

.service-card-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
  margin-top: 8px;
  min-height: 1.25rem;
  width: 100%;
}

.service-card-extras--delivery-only {
  margin-top: 6px;
  min-height: 0;
}

.service-card-extras--delivery-only .service-delivery-inline {
  margin-inline-start: 0;
}

.service-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}

.service-rating-inline__star {
  font-size: 0.72rem;
  line-height: 1;
  color: var(--ink-900);
  transform: translateY(-0.5px);
}

.service-rating-inline__score {
  font-weight: 600;
  color: var(--ink-900);
}

.service-rating-inline__count {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.service-rating-inline--muted {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-500);
}

.service-delivery-inline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-500);
  white-space: nowrap;
  margin-inline-start: auto;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 4px;
}

.service-card-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  color: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-price {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
  color: var(--ink-900);
}

.service-seller {
  color: var(--ink-500);
  font-size: 0.78rem;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  margin-top: 4px;
  padding: 24px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(7, 11, 20, 0.58);
  color: var(--ink-600);
  display: none;
}

.empty-state.is-visible {
  display: block;
}

.market-pagination {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.market-pagination.is-hidden {
  display: none;
}

.market-pagination .btn {
  min-width: 140px;
}

.pagination-status {
  color: var(--ink-500);
  font-size: 0.88rem;
}

.skeleton {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 980px) {
  .market-toolbar-row,
  .market-toolbar-row-chips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .market-toolbar {
    padding: 14px;
  }

  .market-shell .section-head h2 {
    font-size: clamp(1.3rem, 6.2vw, 1.75rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-cover {
    min-height: 122px;
  }

  .market-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .market-pagination .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .filter-chip {
    padding: 7px 12px;
    font-size: 0.84rem;
  }

  .service-card {
    padding: 14px;
    gap: 12px;
  }
}

html:has(body.public-shell.marketplace-page) {
  --home-bg: #fafafa;
  background: var(--home-bg) !important;
}

body.public-shell.marketplace-page {
  --market-shell-width: 1280px;
  --market-shell-gutter: 16px;

  font-family: "STC Forward", var(--font-sans);
  color-scheme: light;

  --ink-900: #18181b;
  --ink-700: #3f3f46;
  --ink-600: #52525b;
  --ink-500: #71717a;
  --ink-400: #a1a1aa;

  --surface-50: #fafafa;
  --surface-100: #f4f4f5;
  --surface-200: #e4e4e7;
  --sand-50: #fafafa;
  --sand-100: #f4f4f5;

  --sage-700: #52525b;
  --sage-600: #3f3f46;
  --sage-500: #52525b;
  --sage-400: #a1a1aa;

  --sun-400: #3b82f6;
  --sky-200: rgba(59, 130, 246, 0.12);

  --white: #ffffff;
  --bg-base: #fafafa;
  --bg-elevated: #ffffff;
  --bg-gradient: #fafafa;

  --border: rgba(24, 24, 27, 0.08);
  --border-hover: rgba(24, 24, 27, 0.14);
  --border-focus: rgba(24, 24, 27, 0.22);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: none;

  --success-bg: rgba(34, 197, 94, 0.08);
  --success-text: #166534;
  --error-bg: rgba(239, 68, 68, 0.08);
  --error-text: #b91c1c;
  --warn-bg: rgba(250, 204, 21, 0.12);
  --warn-text: #854d0e;

  --surface-card: #ffffff;
  --surface-card-hover: #fafafa;
  --border-card: rgba(24, 24, 27, 0.08);
  --border-input: rgba(24, 24, 27, 0.1);
  --border-input-focus: rgba(24, 24, 27, 0.22);

  --home-bg: #fafafa;
  --home-surface: #ffffff;
  --home-border: rgba(24, 24, 27, 0.09);
  --home-muted: #71717a;
  --home-text: #18181b;
  --kw-brand: #18181b;

  --mp-bw-page: #fafafa;
  --mp-bw-toolbar: #ffffff;
  --mp-bw-field: #f4f4f5;
  --mp-bw-card: #ffffff;
  --mp-bw-card-hover: #fafafa;
  --mp-bw-ink: #18181b;
  --mp-bw-muted: #71717a;
  --mp-bw-faint: #a1a1aa;
  --mp-bw-border: #e4e4e7;
  --mp-bw-border-strong: #d4d4d8;
  --mp-highlight-bg: #fffbeb;
  --mp-highlight-border: #fde68a;
  --mp-popover-surface: #ffffff;
  --mp-popover-chrome: #f4f4f5;
  --mp-popover-chrome-hover: #e4e4e7;
  --mp-popover-ink: #52525b;
  --mp-popover-ink-strong: #18181b;
  --mp-popover-muted: #71717a;
  --mp-popover-line: #e4e4e7;
  --mp-popover-active: #18181b;
  --mp-popover-active-ink: #fafafa;
  --mp-cta-bg: #18181b;
  --mp-cta-hover: #27272a;
  --mp-focus-ring: rgba(24, 24, 27, 0.1);
}

body.public-shell.marketplace-page .site-header .header-market-unified.header-nav-pill--market {
  --nav-pill-surface: #050508;
  --nav-pill-chrome: #0c0e14;
  --nav-pill-chrome-hover: #12141a;
  --nav-pill-chrome-muted: #1a1c22;
  --nav-pill-ink: #d4d4d8;
  --nav-pill-ink-strong: #fafafa;
  --nav-pill-muted: #a1a1aa;
  --nav-pill-line: rgba(255, 255, 255, 0.1);
  --nav-pill-active-bg: rgba(255, 255, 255, 0.14);
  --nav-pill-hover: rgba(255, 255, 255, 0.08);
  --nav-pill-hover-strong: rgba(255, 255, 255, 0.12);
  --kw-brand-soft: rgba(255, 255, 255, 0.12);
  --kw-brand-line: rgba(255, 255, 255, 0.45);
  --home-border: rgba(255, 255, 255, 0.08);
  --market-search-bg: #ffffff;
  --market-search-bg-focus: #ffffff;
  --market-search-border: rgba(24, 24, 27, 0.12);
  --market-search-border-focus: rgba(24, 24, 27, 0.22);
  --market-search-ink: #18181b;
  --market-search-placeholder: rgba(24, 24, 27, 0.45);
  --market-search-icon: #71717a;
}

body.public-shell.marketplace-page .site-header.site-header--market {
  background: transparent !important;
  padding: clamp(14px, 2vw, 24px) var(--market-shell-gutter, clamp(16px, 3vw, 28px)) clamp(8px, 1.2vw, 14px);
}

body.public-shell.marketplace-page .site-header.site-header--market .container,
body.public-shell.marketplace-page .market-main .container {
  width: min(var(--market-shell-width), 100%);
  max-width: var(--market-shell-width);
  margin-inline: auto;
  padding-inline: var(--market-shell-gutter) !important;
  box-sizing: border-box;
}

body.public-shell.marketplace-page .site-footer .container {
  width: min(var(--market-shell-width), 100%);
  max-width: var(--market-shell-width);
  margin-inline: auto;
  padding-inline: var(--market-shell-gutter) !important;
  box-sizing: border-box;
}

body.public-shell.marketplace-page .header-inner--market {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding-block: 0;
}

/* صف واحد: شعار | بحث (يتمدد) | روابط | حساب */
body.public-shell.marketplace-page .header-market-unified.header-nav-pill--market {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.6vw, 24px);
  width: 100% !important;
  max-width: none !important;
  min-height: 68px;
  margin-inline: 0;
  padding: 10px clamp(14px, 1.5vw, 20px);
  border-radius: 20px;
  background: var(--nav-pill-surface);
  border: 1px solid var(--home-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 10px 32px rgba(0, 0, 0, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: visible;
}

body.public-shell.marketplace-page .header-market-unified > .header-floating-brand {
  flex: 0 0 auto;
  order: 0;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 4px;
  border-radius: 13px;
  background: #000000;
  border: 1px solid #000000;
  box-shadow: none;
}

body.public-shell.marketplace-page .header-market-search {
  flex: 1 1 320px;
  order: 1;
  min-width: 0;
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

body.public-shell.marketplace-page .header-market-search__shell {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--market-search-bg);
  border: 1px solid var(--market-search-border);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.public-shell.marketplace-page .header-market-search__shell:focus-within {
  background: var(--market-search-bg-focus);
  border-color: var(--market-search-border-focus);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.04),
    0 0 0 3px rgba(24, 24, 27, 0.08);
}

body.public-shell.marketplace-page .header-market-search__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--market-search-icon);
}

body.public-shell.marketplace-page .header-market-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--market-search-ink);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0;
}

body.public-shell.marketplace-page .header-market-search__input::placeholder {
  color: var(--market-search-placeholder);
  font-weight: 400;
}

body.public-shell.marketplace-page .header-market-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

body.public-shell.marketplace-page .header-market-unified .nav {
  flex: 0 0 auto;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(4px, 0.5vw, 8px);
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

body.public-shell.marketplace-page .header-market-unified .nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nav-pill-ink);
  white-space: nowrap;
}

body.public-shell.marketplace-page .header-market-unified .nav-link:hover {
  color: var(--nav-pill-ink-strong);
  background: var(--nav-pill-hover);
}

body.public-shell.marketplace-page .header-market-unified .nav-link.is-active {
  color: var(--nav-pill-ink-strong);
  background: var(--nav-pill-active-bg);
  box-shadow: none;
}

body.public-shell.marketplace-page .header-market-unified .nav-more-toggle {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--nav-pill-ink-strong);
  font-weight: 600;
}

body.public-shell.marketplace-page .header-market-unified .nav-more-toggle:hover {
  color: var(--nav-pill-ink-strong);
  background: var(--nav-pill-hover);
}

body.public-shell.marketplace-page .header-market-unified .nav-more-icon {
  border-color: rgba(255, 255, 255, 0.22);
}

body.public-shell.marketplace-page .header-market-unified .nav-more-icon::before {
  border-color: rgba(255, 255, 255, 0.55);
}

body.public-shell.marketplace-page .header-market-unified .nav-more-menu {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

body.public-shell.marketplace-page .header-market-unified .nav-more-menu a {
  color: rgba(244, 244, 245, 0.92);
}

body.public-shell.marketplace-page .header-market-unified .nav-more-menu a:hover,
body.public-shell.marketplace-page .header-market-unified .nav-more-menu a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.public-shell.marketplace-page .header-market-unified .header-actions {
  flex: 0 0 auto;
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-inline-start: clamp(12px, 1.2vw, 16px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

body.public-shell.marketplace-page .header-market-unified .header-actions::before {
  display: none;
}

body.public-shell.marketplace-page .header-market-unified .header-auth-greet {
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nav-pill-ink-strong);
  background: transparent;
  border: none;
  max-width: 8.5rem;
}

body.public-shell.marketplace-page .header-market-unified .header-auth-notify,
body.public-shell.marketplace-page .header-market-unified .header-auth-logout {
  min-width: 40px;
  min-height: 40px;
  padding: 8px !important;
  border-radius: 10px;
  border: 1px solid var(--nav-pill-line) !important;
  color: var(--nav-pill-ink-strong) !important;
  background: transparent !important;
}

body.public-shell.marketplace-page .header-market-unified .header-auth-notify:hover,
body.public-shell.marketplace-page .header-market-unified .header-auth-logout:hover {
  background: var(--nav-pill-hover) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: var(--nav-pill-ink-strong) !important;
}

body.public-shell.marketplace-page .header-market-unified .header-auth-notify .notification-badge {
  border-color: var(--nav-pill-surface) !important;
  background: var(--nav-pill-chrome-hover) !important;
  color: var(--nav-pill-ink-strong) !important;
}

body.public-shell.marketplace-page .header-market-unified .btn-ghost-landing {
  color: var(--nav-pill-ink);
  padding: 8px 12px;
  border-radius: 10px;
}

body.public-shell.marketplace-page .header-market-unified .btn-ghost-landing:hover {
  color: var(--nav-pill-ink-strong);
  background: var(--nav-pill-hover);
}

body.public-shell.marketplace-page .header-market-unified .btn-cta-header {
  padding: 8px 16px 8px 14px;
  font-size: 0.88rem;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a !important;
}

@media (min-width: 861px) {
  body.public-shell.marketplace-page .header-market-unified .header-mobile-strip {
      display: none !important;
  }
}

body.public-shell.marketplace-page .header-market-search-toggle {
  display: none;
}

@media (max-width: 860px) {
  body.public-shell.marketplace-page {
      --market-shell-gutter: 12px;
  }

  body.public-shell.marketplace-page .site-header.site-header--market {
      padding: 12px var(--market-shell-gutter) 10px;
  }

  body.public-shell.marketplace-page .header-inner--market {
      position: relative;
  }

  body.public-shell.marketplace-page .header-market-unified.header-nav-pill--market {
      display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 14px;
    overflow: visible;
  }

  body.public-shell.marketplace-page .header-market-unified > .header-floating-brand {
      grid-column: 1;
    grid-row: 1;
    order: unset;
  }

  body.public-shell.marketplace-page .header-market-unified .header-mobile-strip {
      display: flex !important;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    order: unset;
  }

  body.public-shell.marketplace-page .header-market-search-toggle {
      display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 4;
    grid-row: 1;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--nav-pill-line);
    border-radius: 10px;
    background: transparent;
    color: var(--nav-pill-ink-strong);
    cursor: pointer;
  }

  body.public-shell.marketplace-page .header-market-search-toggle:hover {
    background: var(--nav-pill-hover);
    border-color: rgba(255, 255, 255, 0.2);
  }

  body.public-shell.marketplace-page .header-market-unified.is-mobile-search-open .header-market-search-toggle {
    background: var(--nav-pill-active-bg);
    border-color: rgba(255, 255, 255, 0.22);
  }

  body.public-shell.marketplace-page .header-market-search-toggle__icon {
      display: flex;
  }

  body.public-shell.marketplace-page .header-market-search {
      position: absolute;
    inset-inline: 0;
    top: calc(100% + 8px);
    z-index: 90;
    display: block;
    grid-column: unset;
    grid-row: unset;
    order: unset;
    flex: unset;
    width: auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s ease;
  }

  body.public-shell.marketplace-page .header-inner--market.is-mobile-search-open .header-market-search {
      max-height: 56px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.public-shell.marketplace-page .header-inner--market.is-mobile-search-open .header-market-search__shell {
      border-radius: 14px;
    background: var(--market-search-bg);
    border-color: var(--market-search-border);
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    animation: market-mobile-search-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.public-shell.marketplace-page .header-inner--market.is-mobile-search-open {
      padding-bottom: 64px;
    transition: padding-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes market-mobile-search-in {
    from {
      opacity: 0.65;
      transform: translateY(-6px) scale(0.98);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body.public-shell.marketplace-page .header-market-search {
      transition: none;
      transform: none;
    }

    body.public-shell.marketplace-page .header-inner--market.is-mobile-search-open {
      transition: none;
    }

    body.public-shell.marketplace-page .header-inner--market.is-mobile-search-open .header-market-search__shell {
      animation: none;
    }
  }

  body.public-shell.marketplace-page .header-market-unified .nav {
    display: none !important;
  }

  body.public-shell.marketplace-page .header-market-unified .header-actions {
    grid-column: 5;
    grid-row: 1;
    order: unset;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 6px;
    border-inline-start: none;
    padding-inline-start: 0;
  }

  body.public-shell.marketplace-page .header-market-unified .header-auth-greet {
    display: none;
  }
}

@media (max-width: 480px) {
  body.public-shell.marketplace-page .header-market-search__shell {
    min-height: 42px;
    height: 42px;
    padding-inline: 12px;
  }

  body.public-shell.marketplace-page .header-market-unified .btn-cta-header .btn-arrow {
    display: none;
  }
}

body.public-shell.marketplace-page .market-main {
  position: relative;
  background: var(--mp-bw-page);
}

body.public-shell.marketplace-page .market-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body.public-shell.marketplace-page .market-section {
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
  background: var(--mp-bw-page);
}

body.public-shell.marketplace-page .market-toolbar {
  background: var(--mp-bw-toolbar) !important;
  border: 1px solid var(--mp-bw-border) !important;
  border-radius: var(--radius-xl, 24px);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: clamp(16px, 2.2vw, 22px);
  gap: 12px;
}

body.public-shell.marketplace-page .market-toolbar--simple {
  display: grid;
  gap: 10px;
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible !important;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-toolbar-row-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-field-col {
  display: block;
  flex: 0 0 auto;
  gap: 0;
  min-width: 0;
  width: auto;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-field-col--filter {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  z-index: 1;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-field-col--filter:has(.market-filters-panel.is-open) {
  z-index: 80;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-field-col--sort {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: none;
}

body.public-shell.marketplace-page .market-sort-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  z-index: 1;
}

body.public-shell.marketplace-page .market-sort-dropdown.is-open {
  z-index: 80;
}

body.public-shell.marketplace-page .market-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font: inherit;
  line-height: 1.4;
  cursor: pointer;
}

body.public-shell.marketplace-page .market-sort-trigger__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mp-bw-muted);
  white-space: nowrap;
}

body.public-shell.marketplace-page .market-sort-trigger__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mp-bw-ink);
  white-space: nowrap;
}

body.public-shell.marketplace-page .market-sort-trigger:hover .market-sort-trigger__value {
  color: #09090b;
}

body.public-shell.marketplace-page .market-sort-trigger:focus {
  outline: none;
}

body.public-shell.marketplace-page .market-sort-trigger:focus-visible {
  outline: 2px solid var(--mp-bw-border-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

body.public-shell.marketplace-page .market-sort-trigger__chevron {
  display: flex;
  color: var(--mp-bw-muted);
  transition: transform 0.2s ease;
}

body.public-shell.marketplace-page .market-sort-dropdown.is-open .market-sort-trigger__chevron {
  transform: rotate(180deg);
}

body.public-shell.marketplace-page .market-sort-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 80;
  display: none;
  min-width: 9.75rem;
  max-width: 11.5rem;
  margin: 0;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--mp-popover-line);
  background: var(--mp-popover-surface);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.06);
}

body.public-shell.marketplace-page .market-sort-dropdown.is-open .market-sort-menu {
  display: grid !important;
  gap: 2px;
}

body.public-shell.marketplace-page .market-sort-menu[hidden] {
  display: none !important;
}

body.public-shell.marketplace-page .market-sort-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--mp-popover-ink);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: start;
  cursor: pointer;
}

body.public-shell.marketplace-page .market-sort-option:hover {
  background: var(--mp-popover-chrome-hover);
  color: var(--mp-popover-ink-strong);
}

body.public-shell.marketplace-page .market-sort-option.is-selected,
body.public-shell.marketplace-page .market-sort-option[aria-selected="true"] {
  background: var(--mp-popover-chrome);
  color: var(--mp-popover-ink-strong);
  font-weight: 700;
}

body.public-shell.marketplace-page .market-sort-option:focus {
  outline: none;
}

body.public-shell.marketplace-page .market-sort-option:focus-visible {
  outline: 2px solid var(--mp-bw-border-strong);
  outline-offset: 1px;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--mp-bw-border);
  background: #fff;
  color: var(--mp-bw-ink);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-toggle:hover,
body.public-shell.marketplace-page .market-toolbar--simple .market-filters-toggle.is-open {
  border-color: var(--mp-bw-border-strong);
  background: #fff;
  color: var(--mp-bw-ink);
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel:not(.is-open) {
  display: none !important;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel {
  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: auto;
  top: calc(100% + 8px);
  z-index: 80;
  display: none;
  grid-template-rows: none;
  width: max-content;
  min-width: 15.5rem;
  max-width: min(18.5rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel.is-open {
  display: block;
  overflow: visible;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--mp-popover-line);
  background: var(--mp-popover-surface);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.06);
}

body.public-shell.marketplace-page .market-toolbar--simple .market-toolbar-row-chips {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-stack-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mp-popover-muted);
  line-height: 1.2;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid var(--mp-popover-line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transform: none;
  box-shadow: none;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-chip:not(.is-active) {
  background: var(--mp-popover-chrome);
  border-color: var(--mp-popover-line);
  color: var(--mp-popover-ink-strong);
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-chip:not(.is-active):hover {
  background: var(--mp-popover-chrome-hover);
  border-color: var(--mp-bw-border-strong);
  color: var(--mp-popover-ink-strong);
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .filter-chip.is-active {
  background: var(--mp-popover-active);
  border-color: var(--mp-popover-active);
  color: var(--mp-popover-active-ink);
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-toggle[data-has-active-filters="true"]:not(.is-open) {
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 0 0 2px rgba(24, 24, 27, 0.18);
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel .market-filters-panel__inner {
  min-height: 0;
  overflow: visible;
  padding: 0;
  margin: 0;
  border: none;
}

body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel.is-open .market-filters-panel__inner {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

body.public-shell.marketplace-page .market-toolbar-row-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px 14px;
}

body.public-shell.marketplace-page .market-field-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}

body.public-shell.marketplace-page .market-field-col--sort {
  flex: 1 1 12rem;
  width: auto;
  min-width: 11.75rem;
  max-width: 100%;
}

body.public-shell.marketplace-page .market-field-col--filter {
  flex: 0 0 auto;
  width: 3.25rem;
  min-width: 3.25rem;
}

body.public-shell.marketplace-page .market-field-col--filter .market-field-label {
  text-align: center;
}

body.public-shell.marketplace-page .market-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mp-bw-muted);
  line-height: 1.2;
}

body.public-shell.marketplace-page .market-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 3px 4px 3px 14px;
  border-radius: 999px;
  background: var(--mp-bw-field);
  border: 1px solid var(--mp-bw-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.public-shell.marketplace-page .market-search-wrap:focus-within {
  border-color: var(--mp-bw-border-strong);
  box-shadow: 0 0 0 3px var(--mp-focus-ring);
}

body.public-shell.marketplace-page .market-search-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--mp-bw-muted);
}

body.public-shell.marketplace-page .market-search-wrap .search-field {
  flex: 1;
  min-width: 0;
}

body.public-shell.marketplace-page .market-search-wrap .search-field::before,
body.public-shell.marketplace-page .market-search-wrap .search-field::after {
  display: none;
}

body.public-shell.marketplace-page .market-search-wrap .search-field input {
  min-height: 40px;
  height: 40px;
  padding: 8px 12px 8px 10px !important;
  border: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mp-bw-ink);
  font-size: 0.93rem;
}

body.public-shell.marketplace-page .market-search-wrap .search-field input::placeholder {
  color: var(--mp-bw-faint);
}

body.public-shell.marketplace-page .market-search-wrap .search-field input:focus {
  outline: none;
  box-shadow: none !important;
}

body.public-shell.marketplace-page .market-sort-field {
  width: 100%;
  min-width: 0;
}

body.public-shell.marketplace-page .market-sort-select,
body.public-shell.marketplace-page .market-sort-field .form-control {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 8px 14px 8px 36px;
  border-radius: 999px !important;
  background-color: var(--mp-bw-field) !important;
  border: 1px solid var(--mp-bw-border) !important;
  color: var(--mp-bw-ink) !important;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.public-shell.marketplace-page .market-sort-select:focus,
body.public-shell.marketplace-page .market-sort-field .form-control:focus {
  border-color: var(--mp-bw-border-strong) !important;
  box-shadow: 0 0 0 3px var(--mp-focus-ring);
  outline: none;
}

body.public-shell.marketplace-page .sort-field .form-control option,
body.public-shell.marketplace-page .market-sort-select option {
  background: #ffffff;
  color: #18181b;
}

body.public-shell.marketplace-page .market-filter-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 48px;
  min-height: 48px;
  height: 48px;
}

body.public-shell.marketplace-page .market-filters-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--mp-bw-border);
  background: #ffffff;
  color: var(--mp-bw-ink);
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

body.public-shell.marketplace-page .market-filters-toggle:hover {
  background: #f8fafc;
  border-color: var(--mp-bw-border-strong);
  transform: translateY(-1px);
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

body.public-shell.marketplace-page .market-filters-toggle.is-open {
  background: #f1f5f9;
  border-color: var(--mp-bw-border-strong);
  transform: translateY(0);
  box-shadow:
    inset 0 2px 5px rgba(15, 23, 42, 0.06),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

body.public-shell.marketplace-page .market-filters-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mp-bw-ink);
}

body.public-shell.marketplace-page .market-filters-toggle__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

body.public-shell.marketplace-page .market-filters-toggle[data-has-active-filters="true"]:not(.is-open) {
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 0 0 2px rgba(24, 24, 27, 0.14);
}

body.public-shell.marketplace-page .market-filters-toggle:focus-visible {
  outline: 2px solid var(--mp-bw-border-strong);
  outline-offset: 3px;
}

body.public-shell.marketplace-page .market-filters-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

body.public-shell.marketplace-page .market-filters-panel.is-open {
  grid-template-rows: 1fr;
}

body.public-shell.marketplace-page .market-filters-panel__inner {
  min-height: 0;
  overflow: hidden;
}

body.public-shell.marketplace-page .market-filters-panel.is-open .market-filters-panel__inner {
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid var(--mp-bw-border);
}

@media (prefers-reduced-motion: reduce) {
  body.public-shell.marketplace-page .market-filters-panel {
    transition: none;
  }

  body.public-shell.marketplace-page .market-filters-toggle {
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  body.public-shell.marketplace-page .market-filters-toggle:hover {
    transform: none;
  }
}

body.public-shell.marketplace-page .market-toolbar-row-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px 20px;
}

body.public-shell.marketplace-page .market-toolbar-row-chips .filter-stack {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

body.public-shell.marketplace-page .filter-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

body.public-shell.marketplace-page .filter-stack-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mp-bw-muted);
  line-height: 1.2;
}

body.public-shell.marketplace-page .filter-group {
  width: auto;
  max-width: 100%;
}

body.public-shell.marketplace-page .filter-chip:not(.is-active) {
  background: #ffffff;
  border-color: var(--mp-bw-border);
  color: var(--mp-bw-ink);
}

body.public-shell.marketplace-page .filter-chip:not(.is-active):hover {
  background: #f8fafc;
  border-color: var(--mp-bw-border-strong);
  color: var(--mp-bw-ink);
}

body.public-shell.marketplace-page .filter-chip.is-active {
  background: var(--mp-highlight-bg);
  color: var(--mp-bw-ink);
  border-color: var(--mp-highlight-border);
  box-shadow: none;
}

body.public-shell.marketplace-page .market-shell .section-head.market-section-head {
  text-align: start;
  margin-inline: 0;
  max-width: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 8px;
  padding-bottom: 0;
}

body.public-shell.marketplace-page .market-shell .section-head.market-section-head h2 {
  color: var(--mp-bw-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.public-shell.marketplace-page .market-shell .section-head.market-section-head p {
  color: var(--mp-bw-muted);
  font-size: 0.95rem;
}

body.public-shell.marketplace-page .market-services-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

body.public-shell.marketplace-page .service-card {
  position: relative;
  display: block;
  padding: 0;
  gap: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 36px;
  background: #0f1117 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.public-shell.marketplace-page a.service-card:visited {
  color: #ffffff;
}

body.public-shell.marketplace-page .service-card.is-subscription,
body.public-shell.marketplace-page .service-card.is-one-time {
  background: #0f1117 !important;
}

body.public-shell.marketplace-page .service-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

body.public-shell.marketplace-page .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.public-shell.marketplace-page .service-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  border: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(160deg, #3f3f46 0%, #18181b 55%, #09090b 100%) !important;
  overflow: hidden;
}

body.public-shell.marketplace-page .service-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.08) 38%,
    rgba(0, 0, 0, 0.22) 68%,
    rgba(0, 0, 0, 0.42) 100%
  );
  z-index: 1;
  pointer-events: none;
}

body.public-shell.marketplace-page .service-cover::after {
  display: none;
}

body.public-shell.marketplace-page .service-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 320ms ease;
}

body.public-shell.marketplace-page .service-card:hover .service-cover img {
  transform: scale(1.05);
}

body.public-shell.marketplace-page .service-card-glass {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  min-height: 58%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px 22px 20px;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0) 0%,
    rgba(9, 9, 11, 0.12) 22%,
    rgba(9, 9, 11, 0.38) 58%,
    rgba(9, 9, 11, 0.62) 100%
  );
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

body.public-shell.marketplace-page .service-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 12px;
  width: 100%;
  overflow: visible;
}

body.public-shell.marketplace-page .service-card-title-row .service-card-price,
body.public-shell.marketplace-page .service-card-title-row .service-card-price-badge,
body.public-shell.marketplace-page .service-card-title-row .service-price {
  flex: 0 0 auto;
  max-width: none;
  overflow: visible;
  text-align: start;
  align-self: flex-start;
}

body.public-shell.marketplace-page .service-card-title-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
}

body.public-shell.marketplace-page .service-card-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}

body.public-shell.marketplace-page .service-card-trusted {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  cursor: help;
  outline: none;
  z-index: 3;
}

body.public-shell.marketplace-page .service-card-trusted:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

body.public-shell.marketplace-page .service-card-trusted__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

body.public-shell.marketplace-page .service-card-trusted__svg {
  display: block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

body.public-shell.marketplace-page .service-card-trusted__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  color: #fafafa;
  background: rgba(12, 14, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
  z-index: 20;
}

body.public-shell.marketplace-page .service-card-trusted:hover .service-card-trusted__tooltip,
body.public-shell.marketplace-page .service-card-trusted:focus-visible .service-card-trusted__tooltip {
  opacity: 1;
  visibility: visible;
}

body.public-shell.marketplace-page .service-card,
body.public-shell.marketplace-page .service-card-glass {
  font-family: "STC Forward", var(--font-sans);
}

body.public-shell.marketplace-page .service-card-title-row .service-title {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.public-shell.marketplace-page .service-card-title-row .service-card-heading .service-title {
  flex: 0 1 auto;
}

body.public-shell.marketplace-page .service-card-glass .service-price,
body.public-shell.marketplace-page .service-card-glass .service-card-price,
body.public-shell.marketplace-page .service-card-glass .service-card-price-badge,
body.public-shell.marketplace-page .service-card-glass .service-card-price-badge.service-price--sar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  direction: ltr !important;
  unicode-bidi: isolate;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  font-family: "STC Forward", var(--font-sans);
  font-size: 1.12rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
  flex-wrap: nowrap;
}

body.public-shell.marketplace-page .service-card-glass .service-card-price-badge .service-price-pair {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4em;
  flex-wrap: nowrap;
  direction: ltr !important;
  unicode-bidi: isolate;
}

body.public-shell.marketplace-page .service-card-glass .service-card-price-badge .sar-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 20px;
  height: 22px;
  line-height: 0;
  background: url("../imges/Saudi_Riyal_Symbol-2.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

body.public-shell.marketplace-page .service-card-glass .service-card-price-badge .sar-symbol__img {
  display: block;
  width: 20px;
  height: 22px;
  min-width: 20px;
  min-height: 22px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
  opacity: 1;
}

body.public-shell.marketplace-page .service-card-glass .service-card-price-badge .service-price__amount {
  font-family: inherit;
  font-weight: 600;
  font-size: 1em;
  color: #ffffff;
  letter-spacing: -0.02em;
}

body.public-shell.marketplace-page .service-card-glass .service-desc {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.6em * 4);
  word-break: break-word;
}

body.public-shell.marketplace-page .service-card-glass .service-desc--placeholder {
  color: rgba(255, 255, 255, 0.72);
}

body.public-shell.marketplace-page .service-card-meta {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  padding: 6px 0 4px;
  gap: 0;
}

body.public-shell.marketplace-page .service-card-meta__sep {
  flex: 0 0 auto;
  width: 1px;
  align-self: stretch;
  min-height: 1.75rem;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 1px;
}

body.public-shell.marketplace-page .service-card-meta__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-inline: 4px;
}

body.public-shell.marketplace-page .service-card-meta__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 0;
  align-self: center;
}

body.public-shell.marketplace-page .service-card-meta__icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

body.public-shell.marketplace-page .service-card-meta__primary {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

body.public-shell.marketplace-page .service-card-meta__primary--ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
body.public-shell.marketplace-page .service-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.public-shell.marketplace-page .service-card-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.public-shell.marketplace-page .service-card-tag--highlight {
  background: rgba(255, 255, 255, 0.18);
}

body.public-shell.marketplace-page .service-card-tag--muted {
  color: rgba(255, 255, 255, 0.72);
}

body.public-shell.marketplace-page .service-card-tag--seller {
  max-width: min(11rem, 100%);
}

body.public-shell.marketplace-page .service-card-cta {
  display: block;
  width: 100%;
  margin-top: 4px;
  text-align: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: "STC Forward", var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  background: #ffffff;
  color: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.9);
  line-height: 1.25;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.public-shell.marketplace-page .service-card:hover .service-card-cta {
  background: #f4f4f5;
  border-color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

body.public-shell.marketplace-page .empty-state {
  text-align: center;
  padding: 32px 24px;
  border: 1px dashed var(--mp-bw-border) !important;
  border-style: dashed !important;
  border-radius: var(--radius-lg, 18px);
  background: #ffffff !important;
  color: var(--mp-bw-muted);
}

body.public-shell.marketplace-page .empty-state.is-visible::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--mp-bw-field);
  border: 1px solid var(--mp-bw-border);
}

body.public-shell.marketplace-page .market-pagination {
  margin-top: 8px;
}

body.public-shell.marketplace-page .market-load-more {
  min-width: 160px;
  background: var(--mp-cta-bg);
  border: 1px solid var(--mp-cta-bg);
  color: #fafafa;
  border-radius: 999px;
  font-weight: 600;
  padding: 12px 22px;
}

body.public-shell.marketplace-page .market-load-more:hover {
  background: var(--mp-cta-hover);
  border-color: var(--mp-cta-hover);
  color: #fafafa;
}

body.public-shell.marketplace-page .pagination-status {
  color: var(--mp-bw-muted);
}

@media (max-width: 640px) {
  body.public-shell.marketplace-page .market-shell .section-head.market-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.public-shell.marketplace-page .market-field-col--sort {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  body.public-shell.marketplace-page .market-field-col--filter {
    flex: 0 0 auto;
    width: 3.25rem;
    min-width: 3.25rem;
  }
}

body.public-shell.marketplace-page .service-card.skeleton {
  min-height: 420px;
  padding: 0;
  border-radius: 36px;
  background: linear-gradient(160deg, #3f3f46 0%, #18181b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

body.public-shell.marketplace-page .service-card.skeleton::after {
  opacity: 0.35;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
}

body.public-shell.marketplace-page .market-section--hero-first {
  padding-top: clamp(12px, 1.6vw, 20px);
}

@media (max-width: 860px) {
  body.public-shell.marketplace-page .market-toolbar--simple .market-toolbar-row-controls {
    align-items: center;
    gap: 10px;
  }

body.public-shell.marketplace-page .market-sort-trigger__label,
body.public-shell.marketplace-page .market-sort-trigger__value {
    font-size: 0.86rem;
  }

  body.public-shell.marketplace-page .market-toolbar--simple .market-filters-panel {
    min-width: 12rem;
    max-width: min(16rem, calc(100vw - 1.25rem));
  }
}

body.public-shell.marketplace-page #marketToolbar.market-toolbar--in-hero {
  scroll-margin-top: clamp(96px, 12vw, 132px);
}

body.public-shell.marketplace-page .market-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: clamp(168px, 30vw, 300px);
  margin-bottom: clamp(14px, 2vw, 22px);
  border-radius: clamp(16px, 2vw, 22px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(125deg, #e7e5e4 0%, #d6d3d1 42%, #a8a29e 100%);
}

body.public-shell.marketplace-page .market-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

body.public-shell.marketplace-page .market-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(24, 24, 27, 0.38) 0%,
    rgba(24, 24, 27, 0.12) 48%,
    transparent 78%
  );
}

@media (max-width: 640px) {
  body.public-shell.marketplace-page .market-hero {
    min-height: clamp(168px, 44vw, 260px);
  }
}

body.public-shell.marketplace-page .market-showcase-section {
  padding: 0 0 clamp(10px, 1.5vw, 16px);
}

body.public-shell.marketplace-page .market-showcase-section > .container,
body.public-shell.marketplace-page .market-section > .container {
  width: min(var(--market-shell-width), 100%);
  max-width: var(--market-shell-width);
  margin-inline: auto;
  padding-inline: var(--market-shell-gutter) !important;
  box-sizing: border-box;
}

body.public-shell.marketplace-page .market-showcase {
  --showcase-media-ratio: 1600 / 1200;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

body.public-shell.marketplace-page .market-showcase__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
  padding: 0;
  box-sizing: border-box;
  min-height: 0;
}

body.public-shell.marketplace-page .market-showcase__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 26px);
  text-align: start;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 48px) clamp(22px, 3vw, 34px) 0;
  box-sizing: border-box;
}

body.public-shell.marketplace-page .market-showcase__copy-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.5vw, 14px);
  width: 100%;
  max-width: min(100%, 36rem);
}

body.public-shell.marketplace-page .market-showcase__title {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(1.2rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: normal;
}

body.public-shell.marketplace-page .market-showcase__lead {
  margin: 0;
  width: 100%;
  max-width: 38em;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

body.public-shell.marketplace-page .market-showcase__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  min-height: 2.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #0a0a0a;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
}

body.public-shell.marketplace-page .market-showcase__cta:hover {
  background: #f4f4f5;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

body.public-shell.marketplace-page .market-showcase__cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

body.public-shell.marketplace-page .market-showcase__visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: clamp(260px, 36vw, 440px);
  min-width: 0;
  padding: clamp(14px, 2vw, 22px) clamp(8px, 1.2vw, 14px) clamp(14px, 2vw, 22px) clamp(16px, 2.2vw, 24px);
  overflow: hidden;
  pointer-events: none;
  box-sizing: border-box;
}

body.public-shell.marketplace-page .market-showcase__media-frame {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: var(--showcase-media-ratio);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

body.public-shell.marketplace-page .market-showcase__video,
body.public-shell.marketplace-page .market-showcase__media-frame video {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  transform-origin: center center;
  pointer-events: none;
}

@media (max-width: 900px) {
  body.public-shell.marketplace-page .market-showcase__grid {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(8px, 2vw, 16px);
    padding: 0;
    text-align: center;
  }

  body.public-shell.marketplace-page .market-showcase__copy {
    flex: none;
    order: 2;
    align-items: center;
    padding: clamp(10px, 2vw, 14px) clamp(18px, 4vw, 28px) clamp(20px, 4vw, 28px);
  }

  body.public-shell.marketplace-page .market-showcase__copy-stack {
    align-items: center;
    text-align: center;
  }

  body.public-shell.marketplace-page .market-showcase__title {
    font-size: clamp(1.15rem, 4.5vw, 1.6rem);
    line-height: 1.32;
    text-wrap: balance;
  }

  body.public-shell.marketplace-page .market-showcase__lead {
    max-width: 34em;
    text-wrap: pretty;
  }

  body.public-shell.marketplace-page .market-showcase__cta {
    align-self: center;
    width: auto;
    max-width: 280px;
    margin-inline: auto;
  }

  body.public-shell.marketplace-page .market-showcase__visual {
    flex: none;
    order: 1;
    align-self: center;
    width: min(100%, 320px);
    padding: clamp(18px, 4vw, 26px) clamp(18px, 4vw, 28px) clamp(6px, 1.5vw, 10px);
    overflow: hidden;
  }

  body.public-shell.marketplace-page .market-showcase__media-frame {
    width: 100%;
    height: auto;
    aspect-ratio: var(--showcase-media-ratio);
  }

}

@media (max-width: 480px) {
  body.public-shell.marketplace-page .market-showcase__visual {
    width: min(100%, 280px);
  }
}

body.public-shell.marketplace-page .market-hero__dock {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  padding: clamp(8px, 1.4vw, 16px) clamp(12px, 2vw, 20px) clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

body.public-shell.marketplace-page .market-hero__glass {
  border-radius: clamp(20px, 2.2vw, 24px);
  padding: clamp(16px, 2.2vw, 22px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 36px rgba(24, 24, 27, 0.1), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.public-shell.marketplace-page .market-hero .market-toolbar.market-toolbar--in-hero {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 14px;
}

body.public-shell.marketplace-page .market-hero .market-toolbar-row-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px 14px;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 24, 27, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.public-shell.marketplace-page .market-hero .market-toolbar-row-controls .market-field-col--sort {
  flex: 1 1 12rem;
  min-width: 11.75rem;
}

body.public-shell.marketplace-page .market-hero .market-field-col {
  gap: 8px;
  min-width: 0;
}

body.public-shell.marketplace-page .market-hero .market-field-label,
body.public-shell.marketplace-page .market-hero .filter-stack-label {
  display: block;
  color: #52525b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 2px 2px 0;
  white-space: nowrap;
}

body.public-shell.marketplace-page .market-hero .market-field-col--filter .market-field-label {
  text-align: center;
  padding-inline: 0;
}

body.public-shell.marketplace-page .market-hero .market-search-wrap {
  min-height: 48px;
  height: 48px;
  background: #ffffff;
  border-color: #e4e4e7;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
}

body.public-shell.marketplace-page .market-hero .market-search-wrap:focus-within {
  border-color: #d4d4d8;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.06);
}

body.public-shell.marketplace-page .market-hero .market-search-icon {
  color: #71717a;
}

body.public-shell.marketplace-page .market-hero .market-search-wrap .search-field input {
  color: #18181b;
  min-height: 40px;
  height: 40px;
}

body.public-shell.marketplace-page .market-hero .market-search-wrap .search-field input::placeholder {
  color: #a1a1aa;
}

body.public-shell.marketplace-page .market-hero .market-sort-select,
body.public-shell.marketplace-page .market-hero .market-sort-field .form-control {
  min-height: 48px !important;
  height: 48px !important;
  background-color: #ffffff !important;
  border-color: #e4e4e7 !important;
  color: #18181b !important;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

body.public-shell.marketplace-page .market-hero .market-sort-select:focus,
body.public-shell.marketplace-page .market-hero .market-sort-field .form-control:focus {
  border-color: #d4d4d8 !important;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.06);
}

body.public-shell.marketplace-page .market-hero .market-sort-select option,
body.public-shell.marketplace-page .market-hero .sort-field .form-control option {
  background: #ffffff;
  color: #18181b;
}

body.public-shell.marketplace-page .market-hero .market-filter-trigger {
  min-height: 48px;
  height: 48px;
}

body.public-shell.marketplace-page .market-hero .market-filters-toggle {
  width: 46px;
  height: 46px;
  min-height: 46px;
  background: #ffffff;
  border-color: #e4e4e7;
  color: #18181b;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
}

body.public-shell.marketplace-page .market-hero .market-filters-toggle:hover {
  background: #fafafa;
  border-color: #d4d4d8;
}

body.public-shell.marketplace-page .market-hero .market-filters-toggle.is-open {
  background: #f4f4f5;
  border-color: #d4d4d8;
}

body.public-shell.marketplace-page .market-hero .market-filters-toggle__icon {
  color: #3f3f46;
}

body.public-shell.marketplace-page .market-hero .market-filters-toggle[data-has-active-filters="true"]:not(.is-open) {
  box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.12);
}

body.public-shell.marketplace-page .market-hero .market-filters-toggle:focus-visible {
  outline: 2px solid #a1a1aa;
  outline-offset: 2px;
}

body.public-shell.marketplace-page .market-hero .market-filters-panel.is-open .market-filters-panel__inner {
  border-top-color: rgba(24, 24, 27, 0.08);
}

body.public-shell.marketplace-page .market-hero .filter-chip:not(.is-active) {
  background: #ffffff !important;
  border-color: #e4e4e7 !important;
  color: #3f3f46 !important;
}

body.public-shell.marketplace-page .market-hero .filter-chip:not(.is-active):hover {
  background: #fafafa !important;
  border-color: #d4d4d8 !important;
  color: #18181b !important;
}

body.public-shell.marketplace-page .market-hero .filter-chip.is-active {
  background: #18181b !important;
  color: #fafafa !important;
  border-color: #18181b !important;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  body.public-shell.marketplace-page .market-hero__img {
    transform: none;
  }
}

body.public-shell.marketplace-page .service-card-glass .service-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.public-shell.marketplace-page .service-card-glass .service-desc {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}

body.public-shell.marketplace-page .service-card-glass .service-desc--placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
}

body.public-shell.marketplace-page .service-card-glass .service-card-price-badge,
body.public-shell.marketplace-page .service-card-glass .service-card-price-badge .service-price__amount,
body.public-shell.marketplace-page .service-card-glass .service-price.service-card-price-badge {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.public-shell.marketplace-page .service-card-glass .service-card-price-badge .service-price-pair {
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  direction: ltr !important;
  unicode-bidi: isolate;
}

body.public-shell.marketplace-page .service-card-glass .sar-symbol__img {
  display: block !important;
  visibility: visible !important;
  width: 20px !important;
  height: 22px !important;
  min-width: 20px !important;
  min-height: 22px !important;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
