body[data-page="suppliers"] {
  background: #050b15;
  color: #ffffff;
}

body[data-theme="dark"][data-page="suppliers"] {
  background: #050b15;
  color: #ffffff;
}

body[data-theme="light"][data-page="suppliers"] {
  background: #f3f7ff;
  color: #0b1324;
}

body[data-page="suppliers"] .site-shell {
  width: 100%;
  max-width: none;
}

body[data-page="suppliers"] main {
  display: block;
}

body[data-page="suppliers"] .suppliers-page {
  min-height: calc(100svh - 50px);
  padding: 0 24px;
}

body[data-page="suppliers"] .suppliers-page__inner {
  display: block;
  width: min(100%, 1024px);
  margin: 0 auto;
  padding: 32px 0;
}

body[data-page="suppliers"] .suppliers-page__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

body[data-page="suppliers"] .suppliers-page__heading h1 {
  margin: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0;
}

body[data-page="suppliers"] .suppliers-page__heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 20px;
}

body[data-page="suppliers"] .suppliers-toolbar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

body[data-page="suppliers"] .suppliers-sort {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 28px;
}

body[data-page="suppliers"] .suppliers-sort__button,
body[data-page="suppliers"] .suppliers-sort__option {
  border: 0;
  background: transparent;
}

body[data-page="suppliers"] .suppliers-sort__button {
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  transition: color 200ms ease;
}

body[data-page="suppliers"] .suppliers-sort__button:hover {
  color: #ffffff;
}

body[data-page="suppliers"] .suppliers-sort__active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  transition: background-color 200ms ease;
}

body[data-page="suppliers"] .suppliers-sort__active:hover {
  background: rgba(255, 255, 255, 0.15);
}

body[data-page="suppliers"] .suppliers-sort__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 216px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #000000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 2px;
}

body[data-page="suppliers"] .suppliers-sort__menu[hidden] {
  display: none;
}

body[data-page="suppliers"] .suppliers-sort__option {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}

body[data-page="suppliers"] .suppliers-sort__option:hover,
body[data-page="suppliers"] .suppliers-sort__option.is-active {
  background: rgba(255, 255, 255, 0.08);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__button {
  color: oklch(0.372 0.044 257.287);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__button:hover {
  color: oklch(0.208 0.042 265.755);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__active {
  border-color: oklch(0.869 0.022 252.894);
  background: rgba(15, 23, 42, 0.08);
  color: oklch(0.208 0.042 265.755);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__active:hover {
  background: rgba(15, 23, 42, 0.15);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__menu {
  border-color: oklch(0.869 0.022 252.894);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__option {
  color: oklch(0.208 0.042 265.755);
}

body[data-theme="light"][data-page="suppliers"] .suppliers-sort__option:hover,
body[data-theme="light"][data-page="suppliers"] .suppliers-sort__option.is-active {
  background: rgba(15, 23, 42, 0.08);
}

body[data-page="suppliers"] .suppliers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body[data-page="suppliers"] .supplier-tile,
body[data-page="suppliers"] .supplier-tile__link,
body[data-page="suppliers"] .supplier-tile__surface {
  height: 100%;
}

body[data-page="suppliers"] .supplier-tile__link {
  display: block;
}

body[data-page="suppliers"] .supplier-tile__surface {
  position: relative;
  isolation: isolate;
  height: 210px;
  padding: 21px 24px 29px;
  border: 1px solid oklch(0.373 0.034 259.733);
  border-radius: 8px;
  background: #000000;
  box-shadow: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

body[data-theme="light"][data-page="suppliers"] .supplier-tile__surface {
  border-color: oklch(0.869 0.022 252.894);
  background: #ffffff;
}

body[data-page="suppliers"] .supplier-tile__link:hover .supplier-tile__surface,
body[data-page="suppliers"] .supplier-tile__link:focus-visible .supplier-tile__surface {
  border-color: color-mix(in srgb, var(--text) 24%, transparent);
}

body[data-page="suppliers"] .supplier-tile__body {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 0;
  margin-top: 0;
  gap: 0;
  align-content: normal;
  flex-direction: column;
}

body[data-page="suppliers"] .supplier-tile__title-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 9px;
}

body[data-page="suppliers"] .supplier-tile__flag {
  display: inline-flex;
  flex: 0 0 auto;
  position: absolute;
  left: 0;
  top: var(--supplier-flag-top, 4px);
  width: 24px;
  height: 16px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: none;
  overflow: hidden;
  border-radius: 2px;
}

body[data-page="suppliers"] .supplier-tile__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

body[data-page="suppliers"] .supplier-tile__title-stack {
  flex: 0 1 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  min-width: 0;
  padding-inline: 32px;
  text-align: center;
}

body[data-page="suppliers"] .supplier-tile__title-stack h2 {
  min-height: 2.75rem;
  margin: 0;
  width: 100%;
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

body[data-theme="light"][data-page="suppliers"] .supplier-tile__title-stack h2 {
  color: oklch(0.208 0.042 265.755);
}

body[data-page="suppliers"] .supplier-tile__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

body[data-page="suppliers"] .supplier-tile__stats {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 104px;
  padding-bottom: 1px;
  gap: 8px;
  color: oklch(0.872 0.01 258.338);
  font-size: 14px;
  line-height: 20px;
}

body[data-theme="light"][data-page="suppliers"] .supplier-tile__stats {
  color: oklch(0.372 0.044 257.287);
}

body[data-page="suppliers"] .supplier-tile__stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="suppliers"] .supplier-tile__review {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body[data-page="suppliers"] .supplier-tile__review-count {
  color: #9ca3af;
}

body[data-theme="light"][data-page="suppliers"] .supplier-tile__review-count {
  color: #64748b;
}

body[data-page="suppliers"] .supplier-tile__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

body[data-page="suppliers"] .supplier-tile__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="suppliers"] .supplier-tile__icon--star {
  color: oklch(0.852 0.199 91.936);
}

body[data-page="suppliers"] .supplier-tile__icon--star svg {
  fill: currentColor;
  stroke: none;
}

body[data-page="suppliers"] .supplier-tile__icon--trend {
  color: oklch(0.792 0.209 151.711);
}

body[data-page="suppliers"] .supplier-tile__icon--file {
  color: #ffffff;
}

body[data-theme="light"][data-page="suppliers"] .supplier-tile__icon--file {
  color: oklch(0.208 0.042 265.755);
}

body[data-page="suppliers"] .supplier-tile__hover-button {
  display: none;
}

@media (min-width: 768px) {
  body[data-page="suppliers"] .supplier-tile__hover-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    opacity: 0;
    transform: translateY(4px) scale(0.75);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition:
      transform 200ms ease-out,
      opacity 200ms ease-out,
      box-shadow 200ms ease-out;
  }

  body[data-theme="light"][data-page="suppliers"] .supplier-tile__hover-button {
    background: oklch(0.208 0.042 265.755);
    color: #ffffff;
  }

  body[data-page="suppliers"] .supplier-tile__hover-button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body[data-page="suppliers"] .supplier-tile__link:hover .supplier-tile__hover-button,
  body[data-page="suppliers"] .supplier-tile__link:focus-visible .supplier-tile__hover-button {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  }
}

body[data-page="suppliers"] .site-footer {
  background: #000000;
  color: #ffffff;
}

body[data-theme="dark"][data-page="suppliers"] .site-footer {
  background: #000000;
  color: #ffffff;
}

body[data-theme="light"][data-page="suppliers"] .site-footer {
  background: #f1f5f9;
  color: #0b1324;
}

@media (max-width: 1200px) {
  body[data-page="suppliers"] .suppliers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="suppliers"] .suppliers-page {
    padding-inline: 16px;
  }

  body[data-page="suppliers"] .suppliers-grid {
    grid-template-columns: 1fr;
  }
}
