/**
 * Zamówienie hurtowe — port layoutu Netlify Variant C (B2B).
 * Źródło: prototypes/product-page (variant C / variant-c.css).
 */

.fm-wholesale {
  background: #fff;
  padding-block: 24px 64px;
}

.fm-wholesale__inner {
  max-width: var(--fm-page-max, 1440px);
}

.fm-wholesale__bc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}
.fm-wholesale__bc a {
  color: inherit;
  text-decoration: none;
}
.fm-wholesale__bc a:hover { color: var(--fm-red, #d62828); }
.fm-wholesale__bc strong { color: #111; font-weight: 600; }

.fm-wholesale__hero {
  margin-bottom: 32px;
  max-width: 720px;
}
.fm-wholesale__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fm-red, #d62828);
}
.fm-wholesale__hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: #111;
}
.fm-wholesale__lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: #4b5563;
}
.fm-wholesale__usps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fm-wholesale__usps li {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
}

.fm-wholesale__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.fm-wholesale__panel {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
.fm-wholesale__panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.fm-wholesale__form {
  display: grid;
  gap: 14px;
}
.fm-wholesale__form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}
.fm-wholesale__form input,
.fm-wholesale__form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  color: #111;
  background: #fff;
}
.fm-wholesale__form input:focus,
.fm-wholesale__form textarea:focus {
  outline: 2px solid rgba(214, 40, 40, 0.25);
  border-color: var(--fm-red, #d62828);
}

.fm-wholesale__qty {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.fm-wholesale__qty input[type="range"] {
  width: 100%;
  accent-color: var(--fm-red, #d62828);
}
.fm-wholesale__qty output {
  min-width: 2.5ch;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.fm-wholesale__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--fm-red, #d62828);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.fm-wholesale__submit:hover { filter: brightness(0.95); }

.fm-wholesale__hint {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
}
.fm-wholesale__hint a { color: var(--fm-red, #d62828); }

.fm-wholesale__note {
  margin: -6px 0 16px;
  font-size: 13px;
  color: #6b7280;
}

.fm-wholesale__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fm-wholesale__table th,
.fm-wholesale__table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.fm-wholesale__table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.fm-wholesale__table tr.is-active td {
  background: #fef2f2;
  font-weight: 600;
}

.fm-wholesale__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.fm-wholesale__downloads a {
  font-size: 14px;
  font-weight: 700;
  color: var(--fm-red, #d62828);
  text-decoration: none;
}
.fm-wholesale__downloads a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .fm-wholesale__grid {
    grid-template-columns: 1fr;
  }
}
