/* cennik-tms.css — tylko sekcje Cennik + TMS (prefiks mtp- żeby nie gryźć się z Twoim CSS) */

.mtp-wrap{
  padding: 36px 0;
}

.mtp-container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* HERO */
.mtp-hero{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.mtp-hero--wide{
  grid-template-columns: 1.3fr .7fr;
}

@media (max-width: 980px){
  .mtp-hero, .mtp-hero--wide{
    grid-template-columns: 1fr;
  }
}

.mtp-kicker{
  opacity: .8;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
}

.mtp-h1{
  font-size: clamp(28px, 2.4vw, 40px);
  margin: 0 0 10px 0;
}

.mtp-lead{
  margin: 0;
  opacity: .9;
  font-size: 15px;
  line-height: 1.45;
}

.mtp-heroBox{
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.mtp-heroTitle{
  font-weight: 700;
  margin-bottom: 10px;
}

.mtp-miniText{
  font-size: 14px;
  opacity: .9;
  line-height: 1.45;
}

.mtp-bullets{
  margin: 0;
  padding-left: 18px;
  opacity: .92;
  font-size: 14px;
  line-height: 1.5;
}

/* BUTTONS */
.mtp-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.mtp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: inherit;
  font-weight: 600;
}

.mtp-btn--ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
}

/* GRID — naprawa nachodzenia kart */
.mtp-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.mtp-grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px){
  .mtp-grid, .mtp-grid--2{
    grid-template-columns: 1fr;
  }
}

/* CARD */
.mtp-card{
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;              /* klucz: nic nie wyjdzie poza kartę */
  min-width: 0;                  /* klucz: pozwala zawijać zamiast rozpychać */
}

.mtp-card--tms{
  margin-top: 16px;
}

.mtp-cardHead{
  margin-bottom: 12px;
}

.mtp-h2{
  margin: 0 0 6px 0;
  font-size: 20px;
}

.mtp-h2Big{
  font-size: 22px;
}

.mtp-desc{
  margin: 0;
  opacity: .9;
  font-size: 14px;
  line-height: 1.45;
}

/* TABLE — naprawa nachodzenia + łamanie */
.mtp-tableWrap{
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
}

.mtp-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;           /* klucz: kolumny nie rozpychają */
}

.mtp-table th,
.mtp-table td{
  padding: 12px 12px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.06);
  word-break: break-word;        /* klucz: tekst zawsze się złamie */
}

.mtp-table thead th{
  background: rgba(255,255,255,.06);
  font-weight: 700;
  text-align: left;
}

/* szerokości kolumn — żeby “Cena netto” nie wchodziła na opis */
.mtp-table th:nth-child(1), .mtp-table td:nth-child(1){
  width: 72%;
}
.mtp-table th:nth-child(2), .mtp-table td:nth-child(2){
  width: 28%;
  text-align: right;
}

/* ceny: nie łam na środku, ale jeśli trzeba — też się zmieści */
.mtp-price{
  white-space: nowrap;
  font-weight: 700;
}

@media (max-width: 520px){
  .mtp-table th:nth-child(1), .mtp-table td:nth-child(1){ width: 64%; }
  .mtp-table th:nth-child(2), .mtp-table td:nth-child(2){ width: 36%; }
  .mtp-price{ white-space: normal; } /* na bardzo małych ekranach lepiej zawinąć */
}

/* NOTES */
.mtp-note{
  margin-top: 12px;
  opacity: .9;
  font-size: 13px;
  line-height: 1.45;
}

.mtp-footNote{
  margin-top: 16px;
  opacity: .85;
  font-size: 13px;
}

/* LISTS */
.mtp-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
  opacity: .95;
}

.mtp-sub{
  opacity: .9;
  font-size: 13px;
}

/* STEPS */
.mtp-steps{
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
  opacity: .95;
}
