.tp-b2b-product-page {
  background: linear-gradient(180deg, #fff8e7 0, #f4f7fb 320px, #f4f7fb 100%);
  color: #172033;
  padding: 24px 0 70px;
}

.tp-b2b-product-shell {
  width: min(1500px, calc(100% - 44px));
  margin: 0 auto;
}

.tp-b2b-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 22px;
  color: #6b7788;
  font-size: 13px;
}

.tp-b2b-breadcrumb a {
  color: #344256;
  font-weight: 750;
  text-decoration: none;
}

.tp-b2b-breadcrumb a:hover {
  color: #e66f00;
}

.tp-b2b-product-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(440px, 1.12fr) minmax(280px, .54fr);
  gap: 22px;
  align-items: start;
}

.tp-b2b-gallery,
.tp-b2b-summary,
.tp-b2b-seller-card,
.tp-b2b-info-card {
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(15, 35, 52, .10);
}

.tp-b2b-gallery {
  padding: 18px;
}

.tp-b2b-main-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid #edf1f6;
  overflow: hidden;
}

.tp-b2b-main-image img {
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
}

.tp-b2b-badge {
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tp-b2b-badge-new {
  background: #0f8f5f;
}

.tp-b2b-thumb-row {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.tp-b2b-thumb-row span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid #e66f00;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.tp-b2b-thumb-row img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}

.tp-b2b-summary {
  padding: 24px;
}

.tp-b2b-store-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.tp-b2b-store-line span {
  color: #e66f00;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.tp-b2b-store-line em {
  font-style: normal;
  color: #0f8f5f;
  background: #eaf8f2;
  border: 1px solid #cdeedc;
  border-radius: 999px;
  padding: 6px 10px;
}

.tp-b2b-summary h1 {
  margin: 0;
  color: #101928;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.tp-b2b-subtitle {
  margin: 12px 0 0;
  color: #536273;
  font-size: 17px;
  line-height: 1.55;
}

.tp-b2b-meta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.tp-b2b-meta span {
  display: inline-flex;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  background: #f8fafc;
  color: #687789;
  font-size: 12px;
}

.tp-b2b-meta strong {
  color: #263549;
}

.tp-b2b-main-price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: #fff7ed;
}

.tp-b2b-main-price-line small {
  color: #9a5b12;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .05em;
}

.tp-b2b-main-price-line strong {
  color: #111827;
  font-size: 28px;
  letter-spacing: -.035em;
}

.tp-b2b-main-price-line span {
  color: #7c5d3e;
  font-size: 13px;
  font-weight: 800;
}

.tp-b2b-price-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
}

.tp-b2b-price-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.tp-b2b-price-title strong {
  font-size: 18px;
}

.tp-b2b-price-title span {
  max-width: 390px;
  color: #8a5a22;
  font-size: 13px;
  line-height: 1.45;
}

.tp-b2b-tier-table-wrap {
  overflow-x: auto;
  border: 1px solid #f2c79b;
  border-radius: 14px;
  background: #fff;
}

.tp-b2b-tier-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
}

.tp-b2b-tier-table th,
.tp-b2b-tier-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #f2dfcd;
  vertical-align: middle;
}

.tp-b2b-tier-table tr:last-child td {
  border-bottom: 0;
}

.tp-b2b-tier-table th {
  background: #fff3e3;
  color: #8a5a22;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 900;
}

.tp-b2b-tier-table td {
  color: #344256;
  font-size: 13px;
}

.tp-b2b-tier-table td strong {
  color: #111827;
}

.tp-b2b-tier-price {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.tp-b2b-actions-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e5eaf1;
  border-radius: 18px;
  background: #fbfdff;
}

.tp-b2b-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  font-weight: 850;
  color: #344256;
}

.tp-b2b-qty input {
  width: 120px;
  min-height: 44px;
  border: 1px solid #ccd6e2;
  border-radius: 12px;
  padding: 0 12px;
  font-weight: 850;
}

.tp-b2b-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.tp-b2b-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 13px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
}

.tp-b2b-button.primary {
  background: linear-gradient(135deg, #e66f00, #ff962e);
  color: #fff;
  box-shadow: 0 15px 28px rgba(230, 111, 0, .22);
}

.tp-b2b-button.secondary {
  background: #fff;
  color: #263549;
  border-color: #cfd8e3;
}

.tp-b2b-button.ghost {
  grid-column: 1 / -1;
  background: #f7f9fc;
  color: #415064;
  border-color: #e0e7ef;
}

.tp-b2b-button.full {
  width: 100%;
  margin-top: 10px;
}

.tp-b2b-seller-card {
  padding: 20px;
  position: sticky;
  top: 100px;
}

.tp-b2b-seller-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tp-b2b-seller-head > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: #102934;
  color: #fff;
  font-weight: 950;
  font-size: 21px;
}

.tp-b2b-seller-head strong,
.tp-b2b-seller-head small {
  display: block;
}

.tp-b2b-seller-head small {
  color: #667085;
  margin-top: 3px;
}

.tp-b2b-seller-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tp-b2b-seller-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
}

.tp-b2b-seller-card li strong {
  font-size: 12px;
  color: #667085;
}

.tp-b2b-seller-card li span {
  text-align: right;
  font-size: 12px;
  font-weight: 850;
  color: #263549;
}

.tp-b2b-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 22px;
  margin-top: 22px;
}

.tp-b2b-info-card {
  padding: 24px;
}

.tp-b2b-info-card h2 {
  margin: 0 0 13px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.tp-b2b-info-card p,
.tp-b2b-info-card li {
  color: #526173;
  line-height: 1.7;
}

.tp-b2b-inline-link {
  display: inline-flex;
  margin-top: 10px;
  color: #e66f00;
  font-weight: 900;
}

@media(max-width: 1180px) {
  .tp-b2b-product-grid {
    grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
  }
  .tp-b2b-seller-card {
    grid-column: 1 / -1;
    position: static;
  }
}

@media(max-width: 860px) {
  .tp-b2b-product-shell {
    width: min(100% - 28px, 680px);
  }
  .tp-b2b-product-grid,
  .tp-b2b-info-grid {
    grid-template-columns: 1fr;
  }
  .tp-b2b-actions {
    grid-template-columns: 1fr;
  }
  .tp-b2b-qty {
    align-items: flex-start;
    flex-direction: column;
  }
  .tp-b2b-price-title {
    flex-direction: column;
  }
}
