.sp-supplier-home {
  --store-blue: var(--primary);
  --store-ink: #1c1c1c;
  background: #fff;
  color: var(--store-ink);
  font-size: 14px;
}

.sp-supplier-home *,
.sp-supplier-home *::before,
.sp-supplier-home *::after {
  box-sizing: border-box;
}

.sp-supplier-home .container {
  max-width: 1176px;
}

.sp-supplier-home a {
  text-decoration: none;
}

.sp-supplier-home .sp-store-nav {
  display: block;
  width: 100%;
  background: #fff;
}

.sp-supplier-home .sp-store-nav-inner {
  min-height: 48px;
  gap: 35px;
}

.sp-supplier-home .supplier-hero {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: stretch;
  min-height: 398px;
  padding: 0;
  margin: 0px auto 20px auto;
  overflow: hidden;
  color: var(--store-ink);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.sp-supplier-home .supplier-hero.sp-no-photo {
  grid-template-columns: 1fr;
}

.sp-home-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 40px 38px 35px;
  background: var(--gray-100);
}

.sp-supplier-home .sp-hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
}

.sp-supplier-home .sp-rule {
  flex: none;
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--store-blue);
}

.sp-home-name-row {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 28px;
}

.sp-home-logo {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.sp-logo-empty {
  display: grid;
  place-items: center;
  color: #7894b1;
  font-size: 25px;
}

.sp-home-name-row>div {
  min-width: 0;
}

.sp-supplier-home .sp-hero-type {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--store-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.sp-supplier-home .supplier-hero h1 {
  max-width: 465px;
  margin: 0;
  color: var(--store-ink);
  font-family: inherit;
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.sp-supplier-home .sp-hero-summary {
  max-width: 460px;
  max-height: 72px;
  margin: 21px 0 16px;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
}

.sp-home-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 13px;
}

.sp-home-location i {
  color: var(--store-blue);
  margin-right: 4px;
}

.sp-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
}

.sp-home-hero-actions a {
  height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.sp-home-hero-actions .sp-home-primary {
  color: #fff;
  background: var(--store-blue);
}

.sp-home-hero-actions .sp-home-primary:hover {
  background: #0f469e;
}

.sp-home-hero-actions .sp-home-secondary {
  border: 1px solid #c6d4e4;
  color: #314a68;
  background: #fff9;
}

.sp-home-hero-actions .sp-home-secondary:hover {
  color: var(--store-blue);
  border-color: var(--store-blue);
}

.sp-home-hero-visual {
  position: relative;
  min-height: 398px;
  overflow: hidden;
  background: #dce8f3;
}

.sp-home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #102e506e, transparent 32%);
  pointer-events: none;
}

.sp-home-hero-visual>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-home-visual-caption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.25px;
}

.sp-home-visual-caption .sp-rule {
  width: 22px;
  height: 1px;
  background: #a9d0ff;
}

.sp-home-proof {
  padding: 12px 0;
  background: #fff;
}

.sp-home-proof-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-proof-heading {
  width: 180px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-proof-heading small {
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
}

.sp-proof-heading strong {
  color: #213956;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.sp-proof-item {
  min-width: 175px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--gray-100);
  border-radius: 8px;
}

.sp-proof-item>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-proof-item strong {
  color: var(--store-blue);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.sp-proof-item small {
  color: var(--gray-600);
  font-size: 12px;
}

.sp-proof-type {
  min-width: 235px;
}

.sp-proof-type strong {
  max-width: 155px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.sp-proof-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--store-blue);
  background: #fff;
  border-radius: 8px;
}

.sp-proof-note {
  margin-left: auto;
  color: var(--gray-600);
  font-size: 11px;
  white-space: nowrap;
}

.sp-proof-note i {
  color: #7793b5;
  margin-right: 6px;
}

.sp-home-content {
  padding-top: 0;
  padding-bottom: 78px;
}

.sp-home-content>.sp-home-nav-wrap {
  padding-inline: 0;
}

.sp-home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
  margin: 20px 0 0;
}

.sp-home-columns>.col-12 {
  width: 100%;
  padding: 0;
  min-width: 0;
}

.sp-home-columns .tab-content {
  overflow: visible;
}

.sp-supplier-home #tabOverview.show.active {
  display: flex;
  flex-direction: column;
}

.sp-supplier-home #tabOverview .sp-featured-section {
  order: -1;
  margin: 0 0 70px;
}

.sp-home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
  scroll-margin-top: 28px;
}

.sp-home-eyebrow {
  margin: 0 0 10px;
  color: var(--store-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
}

.sp-home-eyebrow span {
  color: #8292a6;
}

.sp-home-section-heading h2 {
  margin: 0;
  color: var(--store-ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.sp-home-section-heading h2 em,
.sp-rail-title em {
  color: var(--store-blue);
  font-style: normal;
}

.sp-home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sp-company-heading {
  margin-bottom: 0;
  padding: 24px 24px 0;
  border: 1px solid var(--gray-200);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
}

.sp-company-heading h2 {
  font-size: 24px;
}

.sp-home-heading-aside {
  padding: 9px 12px;
  border-left: 1px solid #dce6f1;
  color: #6f86a0;
  font-size: 11px;
  line-height: 1.4;
}

.sp-company-card.card {
  border: 1px solid var(--gray-200);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  margin-bottom: 54px !important;
}

.sp-company-card .card-body {
  padding: 16px 24px 24px;
}

.sp-company-card h5 {
  display: none;
}

.sp-company-card p {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
}

.sp-company-card .table {
  margin: 0;
  font-size: 14px;
}

.sp-company-card td {
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-900);
}

.sp-factory-card.card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 45px !important;
}

.sp-factory-card .card-body {
  padding: 16px;
}

.sp-factory-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sp-factory-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: var(--gray-100);
  border-radius: 8px;
}

.sp-factory-heading {
  margin-bottom: 21px;
}

.sp-contact-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  scroll-margin-top: 20px;
}

.sp-contact-rail #inquiry-section {
  grid-column: 1 / -1;
  order: 1;
  margin: 0 !important;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 20px;
}

.sp-contact-rail #inquiry-section>.card-body {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 48px;
  padding: 39px 42px;
}

.sp-contact-intro,
.sp-contact-form-fields {
  min-width: 0;
}

.sp-rail-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #d6e2ef;
  color: var(--store-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.25px;
}

.sp-rail-topline span:last-child {
  color: #96a9bd;
}

.sp-rail-title {
  margin: 20px 0 10px;
  color: var(--store-ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.sp-rail-intro {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
}

.sp-contact-rail #inquiry-section h5,
.sp-contact-rail #inquiry-section h5+p {
  display: none;
}

.sp-contact-rail #supplier-inquiry-form .row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
}

.sp-contact-rail #supplier-inquiry-form .row>div {
  width: auto;
  padding: 0;
  min-width: 0;
}

.sp-contact-rail #supplier-inquiry-form .row>.col-12 {
  grid-column: 1 / -1;
}

.sp-contact-rail #supplier-inquiry-form .row>.col-md-8 {
  grid-column: span 8;
}

.sp-contact-rail #supplier-inquiry-form .row>.col-md-4 {
  grid-column: span 4;
}

.sp-contact-rail #supplier-inquiry-form .row>.col-md-6 {
  grid-column: span 6;
}

.sp-contact-rail #supplier-inquiry-form .form-label {
  margin: 0 0 5px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
}

.sp-contact-rail #supplier-inquiry-form .form-control,
.sp-contact-rail #supplier-inquiry-form .form-select {
  min-width: 0;
  height: 40px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--gray-900);
  background-color: #fff;
  font-size: 14px;
}

.sp-contact-rail #supplier-inquiry-form textarea.form-control {
  min-height: 79px;
  height: auto;
}

.sp-contact-rail #supplier-inquiry-form #inq-dial-code {
  max-width: 75px !important;
  padding: 4px;
}

.sp-contact-rail #supplier-inquiry-form #inq-phone {
  min-width: 0;
}

.sp-contact-rail #inq-submit-btn {
  min-height: 41px;
  border: 0;
  border-radius: 8px;
  background: var(--store-blue);
  font-size: 14px;
}

.sp-home-mobile-bar {
  display: none;
}

@media (max-width: 1020px) {
  .sp-contact-rail #inquiry-section>.card-body {
    gap: 28px;
    padding: 30px;
  }

  .sp-proof-heading {
    width: 165px;
  }

  .sp-proof-item {
    min-width: 156px;
    padding-inline: 16px;
  }

  .sp-proof-type {
    min-width: 210px;
  }

  .sp-proof-note {
    display: none;
  }

  .sp-home-hero-copy {
    padding-inline: 30px;
  }
}

@media (max-width: 780px) {
  .top-header {
    display: none;
  }

  .sp-supplier-home {
    padding-bottom: 62px;
  }

  .sp-home-mobile-bar {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 8px 64px 8px 14px;
    border-top: 1px solid #dce5ef;
    background: #fff;
  }

  .sp-home-mobile-bar a {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--store-blue);
    border-radius: 3px;
    color: var(--store-blue);
    font-size: 12px;
    font-weight: 700;
  }

  .sp-home-mobile-bar a:hover {
    color: #fff;
    background: var(--store-blue);
  }

  .sp-supplier-home .supplier-hero {
    grid-template-columns: 1fr;
  }

  .sp-home-hero-copy {
    padding: 26px 22px 25px;
  }

  .sp-home-name-row {
    gap: 13px;
    margin-top: 21px;
  }

  .sp-home-logo {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .sp-supplier-home .supplier-hero h1 {
    font-size: clamp(22px, 6vw, 31px);
  }

  .sp-home-hero-visual {
    min-height: 250px;
    max-height: 340px;
  }

  .sp-home-hero-visual>img {
    position: static;
    height: 300px;
  }

  .sp-home-proof-inner {
    min-height: 87px;
    justify-content: space-between;
  }

  .sp-proof-heading {
    display: none;
  }

  .sp-proof-item {
    min-width: 0;
    padding: 0 8px;
    gap: 8px;
    border: 0;
  }

  .sp-proof-icon {
    width: 29px;
    height: 29px;
  }

  .sp-proof-item strong {
    font-size: 16px;
  }

  .sp-home-columns {
    margin-top: 35px;
  }

  .sp-contact-rail #inquiry-section>.card-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sp-home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-factory-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .sp-supplier-home .container {
    padding-inline: 14px;
  }

  .sp-home-section-heading h2 {
    font-size: 24px;
  }

  .sp-home-proof-inner {
    flex-wrap: wrap;
    gap: 13px;
    padding-block: 13px;
  }

  .sp-proof-item {
    flex: 1 1 120px;
    padding: 0;
  }

  .sp-home-product-grid {
    gap: 9px;
  }

  .sp-contact-rail {
    grid-template-columns: 1fr;
  }

  .sp-contact-rail #inquiry-section>.card-body {
    padding: 25px 22px 21px;
  }

  .sp-contact-rail #supplier-inquiry-form .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sp-contact-rail #supplier-inquiry-form .row>.col-md-8 {
    grid-column: 1 / -1;
  }

  .sp-contact-rail #supplier-inquiry-form .row>.col-md-4,
  .sp-contact-rail #supplier-inquiry-form .row>.col-md-6 {
    grid-column: span 1;
  }

  .sp-contact-rail #inq-submit-btn {
    width: 100%;
  }

  .sp-company-heading,
  .sp-company-card .card-body {
    padding-inline: 17px;
  }
}