.peh-react-widget {
  width: 100%;
}

.peh-react-search-wrap {
  position: relative;
  display: grid;
  gap: 10px;
}

.peh-react-search,
.peh-react-fallback-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.peh-react-mode,
.peh-react-account-actions,
.peh-react-filter-actions,
.peh-react-rfq-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.peh-react-mode {
  padding-left: 4px;
}

.peh-react-mode button,
.peh-react-submit,
.peh-react-fallback-search button,
.peh-react-link {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.peh-react-mode button,
.peh-react-link-muted {
  background: #f1f5f9;
  color: #071815;
}

.peh-react-mode button.is-active,
.peh-react-submit,
.peh-react-fallback-search button,
.peh-react-link {
  background: #ff6b00;
  color: #fff;
}

.peh-react-search input,
.peh-react-fallback-search input,
.peh-react-filter-panel input,
.peh-react-filter-panel select {
  width: 100%;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  color: #071815;
}

.peh-react-search input,
.peh-react-fallback-search input {
  border: 0;
}

.peh-react-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 12px;
  right: 12px;
  z-index: 40;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 60px rgba(15,23,42,.18);
}

.peh-react-search-suggestion {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #071815;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.peh-react-search-suggestion:hover,
.peh-react-search-suggestion:focus {
  background: #f8fafc;
}

.peh-react-search-suggestion span {
  grid-row: span 2;
  align-self: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.peh-react-search-suggestion strong,
.peh-react-search-suggestion small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peh-react-search-suggestion small {
  color: #64748b;
  font-weight: 800;
}

.peh-react-market-tabs,
.peh-react-tabs-fallback,
.peh-react-rfq-prompt,
.peh-react-rfq-wizard,
.peh-react-rfq-wizard-fallback,
.peh-react-account-panel,
.peh-react-summary-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #052e24, #047857 62%, #ff6b00);
  color: #fff;
}

.peh-react-market-tabs,
.peh-react-tabs-fallback {
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
}

.peh-react-tab-buttons {
  display: grid;
  gap: 10px;
}

.peh-react-tab-buttons button,
.peh-react-tab-link {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-align: left;
  font-weight: 900;
  text-decoration: none;
}

.peh-react-tab-buttons button.is-active {
  background: #fff;
  color: #071815;
}

.peh-react-tab-link {
  display: grid;
  gap: 6px;
}

.peh-react-tab-link span,
.peh-react-rfq-prompt p,
.peh-react-rfq-wizard p,
.peh-react-rfq-wizard-fallback p,
.peh-react-account-panel p,
.peh-react-summary-card p {
  color: rgba(255,255,255,.86);
  font-weight: 600;
}

.peh-react-tab-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.14);
}

.peh-react-kicker {
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .86;
}

.peh-react-tab-panel h3,
.peh-react-rfq-prompt h3,
.peh-react-rfq-wizard h3,
.peh-react-rfq-wizard-fallback h3,
.peh-react-account-panel h3,
.peh-react-summary-card h3 {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.peh-react-tab-panel p {
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
}

.peh-react-tab-panel .peh-react-link,
.peh-react-rfq-prompt .peh-react-link,
.peh-react-rfq-wizard .peh-react-link,
.peh-react-account-panel .peh-react-link,
.peh-react-summary-card .peh-react-link {
  align-self: flex-start;
  background: #fff;
  color: #047857;
}

.peh-react-tab-panel .peh-react-link-muted,
.peh-react-rfq-wizard .peh-react-link-muted,
.peh-react-account-panel .peh-react-link-muted {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.peh-react-rfq-wizard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.peh-react-rfq-wizard label,
.peh-react-rfq-wizard-fallback label,
.peh-react-rfq-wizard-details {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.9);
  font-weight: 900;
}

.peh-react-rfq-wizard input,
.peh-react-rfq-wizard textarea,
.peh-react-rfq-wizard-fallback input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 16px;
  padding: 0 13px;
  background: rgba(255,255,255,.96);
  color: #071815;
  font-size: 15px;
  font-weight: 800;
}

.peh-react-rfq-wizard textarea {
  padding-top: 12px;
  resize: vertical;
}

.peh-react-rfq-wizard-actions,
.peh-react-rfq-wizard-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.peh-react-rfq-wizard-fallback {
  align-items: stretch;
}

.peh-react-rfq-wizard-fallback > div {
  flex: 1 1 100%;
}

.peh-react-rfq-wizard-fallback input {
  flex: 1 1 180px;
}

.peh-react-rfq-wizard-fallback button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: #fff;
  color: #047857;
  font-weight: 900;
  cursor: pointer;
}

.peh-react-filter-panel,
.peh-react-filter-fallback {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.peh-react-supplier-filter-panel {
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, .8fr)) auto;
  align-items: end;
}

.peh-react-supplier-filter-panel .peh-react-filter-head {
  grid-column: 1 / -1;
}

.peh-react-filter-head h3 {
  margin: 4px 0 0;
  font-size: 24px;
  color: #071815;
}

.peh-react-filter-panel input,
.peh-react-filter-panel select,
.peh-react-filter-fallback input,
.peh-react-filter-fallback select {
  min-height: 46px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
}

.peh-react-filter-search-control {
  position: relative;
  min-width: 0;
}

.peh-react-filter-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 7px;
  max-height: 360px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(255,255,255,.99);
  box-shadow: 0 24px 60px rgba(15,23,42,.2);
}

.peh-react-filter-suggestion {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 10px 11px;
  background: transparent;
  color: #071815;
  text-align: left;
  cursor: pointer;
}

.peh-react-filter-suggestion:hover,
.peh-react-filter-suggestion:focus {
  background: #f8fafc;
}

.peh-react-filter-suggestion span {
  grid-row: span 2;
  align-self: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.peh-react-filter-suggestion strong,
.peh-react-filter-suggestion small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peh-react-filter-suggestion small,
.peh-react-filter-suggestions-loading {
  color: #64748b;
  font-weight: 800;
}

.peh-react-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.peh-react-product-feed,
.peh-react-supplier-feed {
  display: grid;
  gap: 16px;
}

.peh-react-empty-state {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.peh-react-empty-state h4 {
  margin: 0;
  color: #071815;
  font-size: 24px;
}

.peh-react-empty-state p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.peh-react-product-feed-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.peh-react-product-feed-head h3 {
  margin: 4px 0 0;
  color: #071815;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.peh-react-product-grid,
.peh-react-supplier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.peh-react-product-card,
.peh-react-supplier-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.peh-react-product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ecfdf5, #f8fafc);
  color: #047857;
  font-weight: 950;
  text-decoration: none;
}

.peh-react-product-body {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
}

.peh-react-product-body h4,
.peh-react-product-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.peh-react-product-body h4 {
  -webkit-line-clamp: 2;
}

.peh-react-product-body p {
  -webkit-line-clamp: 2;
}

.peh-react-product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.peh-react-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peh-react-product-gallery {
  display: grid;
  gap: 12px;
}

.peh-react-product-gallery-main {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: linear-gradient(135deg, #f8fafc, #ecfdf5);
}

.peh-react-product-gallery-main img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}

.peh-react-product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
}

.peh-react-product-gallery-thumbs button {
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.peh-react-product-gallery-thumbs button.is-active {
  border-color: #ff6b00;
  box-shadow: 0 12px 28px rgba(255,107,0,.18);
}

.peh-react-product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peh-react-product-body {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.peh-react-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.peh-react-product-badges span {
  border-radius: 999px;
  padding: 6px 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 950;
}

.peh-react-product-card h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.peh-react-product-card h4 a {
  color: #071815;
  text-decoration: none;
}

.peh-react-product-card p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.peh-react-product-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.peh-react-product-card dt {
  font-weight: 950;
}

.peh-react-product-card dd {
  margin: 0;
}

.peh-react-product-actions {
  margin-top: 4px;
}

.peh-react-product-actions .peh-react-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  justify-content: center;
}

.peh-react-supplier-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.peh-react-supplier-banner {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 16px;
  background: linear-gradient(135deg, #071815, #047857 68%, #14b8a6);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-decoration: none;
}

.peh-react-supplier-banner img,
.peh-react-supplier-banner span {
  width: 72px;
  height: 72px;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.22);
}

.peh-react-supplier-banner img {
  object-fit: contain;
}

.peh-react-supplier-banner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #047857;
  color: #fff;
  font-size: 30px;
  font-weight: 950;
}

.peh-react-supplier-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.peh-react-supplier-card h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.peh-react-supplier-card h4 a {
  color: #071815;
  text-decoration: none;
}

.peh-react-supplier-card p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.peh-react-supplier-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.peh-react-supplier-card dt {
  font-weight: 950;
}

.peh-react-supplier-card dd {
  margin: 0;
}

.peh-react-price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.peh-react-price-card h3 {
  margin: 0;
  color: #071815;
  font-size: 24px;
}

.peh-react-price {
  margin: 0;
  color: #047857;
  font-size: 28px;
  font-weight: 950;
}

.peh-react-price-card ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
}

.peh-react-rfq-steps span,
.peh-react-stat-grid strong {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 900;
}

.peh-react-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.peh-react-buyer-stat-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.peh-react-stat-grid strong {
  display: grid;
  gap: 4px;
}

.peh-react-stat-grid span {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.peh-react-buyer-rfq-list {
  display: grid;
  gap: 8px;
}

.peh-react-buyer-rfq-list h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.peh-react-buyer-rfq-list article {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
}

.peh-react-buyer-rfq-list strong {
  color: #fff;
}

.peh-react-buyer-rfq-list span {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

@media (max-width: 760px) {
  .peh-react-search,
  .peh-react-fallback-search {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .peh-react-search-suggestions {
    position: static;
    margin-top: 0;
  }

  .peh-react-mode,
  .peh-react-filter-actions,
  .peh-react-account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
  }

  .peh-react-supplier-filter-panel {
    grid-template-columns: 1fr;
  }

  .peh-react-mode button,
  .peh-react-submit,
  .peh-react-fallback-search button,
  .peh-react-link {
    width: 100%;
    text-align: center;
  }

  .peh-react-search input,
  .peh-react-fallback-search input {
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
  }

  .peh-react-market-tabs,
  .peh-react-tabs-fallback,
  .peh-react-stat-grid {
    grid-template-columns: 1fr;
  }

  .peh-react-product-feed-head {
    display: grid;
    align-items: stretch;
  }

  .peh-react-product-gallery-main {
    min-height: 260px;
  }

  .peh-react-market-tabs,
  .peh-react-tabs-fallback,
  .peh-react-rfq-prompt,
  .peh-react-rfq-wizard,
  .peh-react-rfq-wizard-fallback,
  .peh-react-account-panel,
  .peh-react-summary-card {
    border-radius: 22px;
    padding: 14px;
  }

  .peh-react-rfq-wizard-grid,
  .peh-react-rfq-wizard-actions,
  .peh-react-rfq-wizard-fallback {
    display: grid;
    grid-template-columns: 1fr;
  }
}
