/* Storefront chrome: search stays with the header while scrolling. */
.jp-chrome {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fffcf8;
  border-bottom: 1px solid #e4ddd2;
  box-shadow: 0 8px 24px rgba(23, 32, 40, 0.06);
}
.jp-chrome .hd {
  position: static !important;
  box-shadow: none;
  background: transparent;
}
.jp-chrome .search-bar {
  background: transparent;
  padding: 0 0 10px;
  border: 0;
}
.jp-chrome .search-bar-row {
  padding-top: 0;
}
.jp-chrome .search-box {
  border: 2px solid #123f48;
  border-radius: 999px;
}
.jp-chrome .search-btn {
  background: #123f48;
  letter-spacing: 0;
  border-radius: 999px;
}
.jp-chrome .hot-row {
  margin-top: 8px;
}
.jp-search-ads {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px 0;
}
.jp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 14px;
  overflow: hidden;
}
.jp-card .card-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.jp-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0.35rem 0;
}
.jp-card h3 a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin: 0.35rem 0 0.6rem;
  color: #5c6770;
  font-size: 0.8rem;
}
.jp-facts b { color: #172028; font-weight: 600; }
.jp-card .jp-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}
.jp-card .jp-actions .btn { flex: 1; text-align: center; }
.biz-sidebar-header {
  background: #123f48 !important;
}
html { scroll-padding-top: 148px; }
.jp-card:hover { box-shadow: 0 10px 24px rgba(23, 32, 40, 0.08); }
.jp-card .btn-primary { background: #123f48; border-color: #123f48; }
.supplier-jump {
  display: flex;
  gap: 0.25rem;
  max-width: 1400px;
  margin: 1.25rem auto 0;
  padding: 0 24px;
  overflow-x: auto;
}
.supplier-jump a {
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 0.92rem;
}
.supplier-jump a:hover { border-bottom-color: #fff; }
.jp-side {
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 14px;
  overflow: hidden;
  height: fit-content;
  position: sticky;
  top: 148px;
}
.jp-side-user {
  padding: 1.25rem 1rem;
  background: #123f48;
  color: #fff;
  text-align: center;
}
.jp-side-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: #fff;
  color: #123f48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  overflow: hidden;
}
.jp-side-avatar img { width: 100%; height: 100%; object-fit: cover; }
.jp-side-user h4 { margin: 0; font-size: 1rem; }
.jp-side-user p { margin: 0.25rem 0 0; opacity: 0.9; font-size: 0.82rem; }
.jp-side-status { margin-top: 0.4rem; }
.jp-side-status span {
  background: rgba(255,255,255,0.16);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
}
.jp-side-nav { padding: 0.35rem 0; }
.jp-side-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: #3d4a52;
  text-decoration: none;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
}
.jp-side-link:hover { background: #f7f4ee; }
.jp-side-link.is-active {
  color: #123f48;
  font-weight: 600;
  background: #f3efe6;
  border-left-color: #123f48;
}
.jp-side-link.is-accent { color: #9a5b12; }
.jp-side-link.is-danger { color: #9b2c2c; }
.jp-side-badge {
  margin-left: auto;
  background: #9b2c2c;
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 999px;
}
.jp-side-sep { height: 1px; background: #efeae2; margin: 0.25rem 1rem; }
@media (max-width: 768px) {
  .jp-account-grid { grid-template-columns: 1fr !important; }
  .jp-side { position: static; }
}
.jp-chrome .jp-subnav {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 10px;
  overflow: auto;
  flex: none;
}
.jp-chrome .jp-subnav a {
  padding: 6px 10px !important;
  border-radius: 8px;
  border-bottom: 0 !important;
  color: #3d4b57 !important;
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
  text-decoration: none;
}
.jp-chrome .jp-subnav a:hover { background: #efeae2; color: #172028 !important; }
.jp-chrome .jp-subnav a.active { color: #123f48 !important; background: #e7f0f1; }
.page-home .jp-search-ads { display: none; }
.page-home .ph-banner-later { display: none; }
.page-home .home-stats { display: none; }
.page-home .home-mid-ad { display: none; }
.ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ph-hero { padding: 8px 0 0; }
.ph-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 16px 0 4px;
  color: #5c6770;
  font-size: 13.5px;
}
.ph-trust b { color: #172028; font-weight: 650; }
.ph-block { padding: 22px 0 8px; }
.ph-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.ph-head h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; color: #172028; }
.ph-head p { margin: 4px 0 0; color: #5c6770; font-size: 14px; }
.ph-head a { color: #1d5c66; font-weight: 600; font-size: 14px; text-decoration: none; }
.ph-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ph-cat {
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 14px;
  padding: 14px 12px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: #172028;
}
.ph-cat:hover { border-color: #c9d5d6; }
.ph-cat strong { font-size: 15px; font-weight: 650; }
.ph-cat span { font-size: 12px; color: #5c6770; }
.ph-swatch { width: 28px; height: 8px; border-radius: 99px; display: block; }
.page-home .section-alt,
.page-home .section { background: transparent; }
@media (max-width: 1100px) {
  .ph-cats { grid-template-columns: repeat(3, 1fr); }
  .ph-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ph-cats { grid-template-columns: repeat(2, 1fr); }
}
.home-stage-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.home-cats {
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 16px;
  padding: 0.85rem 0.7rem 0.7rem;
  position: relative;
}
.home-cats h3 {
  margin: 0 0.4rem 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #123f48;
}
.home-cats .category-link {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  color: #172028;
}
.home-cats .category-link:hover { background: #f7f4ee; }
.home-banner {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4ddd2;
  min-height: 0;
}
.hero-carousel { position: relative; height: 420px; }
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 0.9rem 0 1.1rem;
}
.home-stats div {
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.home-stats b {
  display: block;
  color: #123f48;
  font-size: 1.35rem;
  line-height: 1.2;
}
.home-stats span { color: #5c6770; font-size: 0.82rem; }
@media (max-width: 1024px) {
  .home-stage-grid { grid-template-columns: 1fr; }
  .hero-carousel { height: 280px; }
  .home-stats { grid-template-columns: repeat(2, 1fr); }
}

