.b2b-credit-box,
.b2b-alert,
.b2b-listing-details,
.b2b-listing-card,
.b2b-listing-form,
.b2b-advertise,
.b2b-home-sections,
.b2b-single-description {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 18px;
    margin: 18px 0;
    background: #fff;
}
.b2b-section-heading { margin-bottom: 20px; }
.b2b-section-heading h2 { margin-bottom: 6px; }
.b2b-section-heading p { margin: 0; color: #555; }
.b2b-credit-package { display: inline-block; margin-left: 10px; color: #555; }
.b2b-listing-form label {
    display: block;
    font-weight: 700;
    margin: 14px 0 6px;
}
.b2b-listing-form input[type="text"],
.b2b-listing-form input[type="email"],
.b2b-listing-form input[type="url"],
.b2b-listing-form input[type="file"],
.b2b-listing-form select,
.b2b-listing-form textarea {
    width: 100%;
    max-width: 100%;
}
.b2b-form-grid,
.b2b-package-grid,
.b2b-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.b2b-button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    background: #222;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}
.b2b-button-small { padding: 9px 12px; font-size: 14px; }
.b2b-listing-details h2,
.b2b-single-description h2 { margin-top: 0; }
.b2b-detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.b2b-detail-row:last-child { border-bottom: 0; }
.b2b-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0;
}
.b2b-listing-card {
    position: relative;
    overflow: hidden;
}
.b2b-listing-card.is-featured {
    border-color: #222;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.b2b-listing-card h3 { margin: 8px 0; font-size: 24px; }
.b2b-listing-card h3 a { text-decoration: none; }
.b2b-card-image {
    display: block;
    margin: -18px -18px 14px;
}
.b2b-card-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.b2b-card-category,
.b2b-status,
.b2b-featured-badge {
    display: inline-block;
    font-size: 13px;
    border-radius: 999px;
    padding: 4px 9px;
    background: #f1f1f1;
    margin: 0 6px 8px 0;
}
.b2b-featured-badge {
    background: #222;
    color: #fff;
    font-weight: 700;
}
.b2b-card-company { margin: 4px 0; font-weight: 700; }
.b2b-card-location { margin: 4px 0; color: #555; }
.b2b-card-excerpt { margin-top: 10px; }
.b2b-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}
.b2b-card-link { font-weight: 700; text-decoration: none; }
.b2b-status { margin-top: 12px; }
.b2b-status-pending { background: #fff3cd; }
.b2b-status-publish { background: #d1e7dd; }
.b2b-package-card,
.b2b-section-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    text-decoration: none;
}
.b2b-package-card h3,
.b2b-section-card h3 { margin-top: 0; }
.b2b-package-price { font-size: 24px; font-weight: 800; margin: 10px 0; }
.b2b-section-card p { color: #555; margin-bottom: 0; }
.b2b-single-hero {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 24px;
    align-items: start;
    margin: 20px 0;
}
.b2b-single-company { font-size: 22px; font-weight: 800; margin: 12px 0 4px; }
.b2b-single-location { color: #555; margin: 0; }
.b2b-single-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
@media (max-width: 900px) {
    .b2b-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b2b-single-hero { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .b2b-form-grid,
    .b2b-listing-grid,
    .b2b-detail-row,
    .b2b-package-grid,
    .b2b-section-grid {
        grid-template-columns: 1fr;
    }
}

/* v1.3.1 search/filter polish */
.b2b-search-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.b2b-search-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
}
.b2b-search-form input,
.b2b-search-form select {
  width: 100%;
  min-height: 42px;
}
.b2b-search-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.b2b-results-summary {
  margin: 0 0 14px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .b2b-search-form { grid-template-columns: 1fr; }
}

/* v1.4 marketplace homepage */
.b2b-marketplace-home {
  display: grid;
  gap: 34px;
}
.b2b-home-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
}
.b2b-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  font-weight: 800;
  font-size: 13px;
}
.b2b-home-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.03;
}
.b2b-home-hero p {
  font-size: 19px;
  margin: 0 0 20px;
  color: #374151;
}
.b2b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.b2b-home-hero-search {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.b2b-home-hero-search h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.b2b-home-hero-search .b2b-search-form {
  grid-template-columns: 1fr;
  padding: 0;
  border: 0;
  margin: 0;
}
.b2b-home-block,
.b2b-home-cta,
.b2b-why-advertise {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}
.b2b-category-card {
  position: relative;
  overflow: hidden;
  min-height: 145px;
}
.b2b-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.b2b-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #f3f4f6;
  font-weight: 900;
}
.b2b-why-advertise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.b2b-why-advertise div {
  padding: 18px;
  border-radius: 14px;
  background: #f9fafb;
}
.b2b-why-advertise strong,
.b2b-why-advertise span {
  display: block;
}
.b2b-why-advertise strong {
  margin-bottom: 8px;
  font-size: 18px;
}
.b2b-why-advertise span {
  color: #4b5563;
}
.b2b-home-cta {
  text-align: center;
  background: #111827;
  color: #fff;
}
.b2b-home-cta h2 {
  margin-top: 0;
  color: #fff;
}
.b2b-home-cta p {
  color: rgba(255,255,255,.82);
}
@media (max-width: 900px) {
  .b2b-home-hero,
  .b2b-why-advertise {
    grid-template-columns: 1fr;
  }
  .b2b-home-hero {
    padding: 24px;
  }
}
