/*
  ReutPrint Price Tables v2.0.0
  Стили динамических таблиц цен в стиле ReutPrint Smart Order.
*/

.rp-price-table {
  margin: 24px 0;
  font-family: Montserrat, Arial, sans-serif;
  color: #333333;
}

.rp-price-table,
.rp-price-table * {
  box-sizing: border-box;
}

.rp-price-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 3px solid #f3b72e;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.rp-price-table-title {
  padding: 14px 16px;
  background: #f3b72e;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.rp-price-table-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #393185;
    padding: 14px 10px;
    background: #ffffff;
}

.rp-price-table-subtitle-secondary {
  border-top: 2px solid #eeeeee;
}

.rp-price-table-html {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
}

.rp-price-table-html + .rp-price-table-html {
  border-top: 2px solid #eeeeee;
}

.rp-price-table-html td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8e8e8;
}

.rp-price-table-html tr:last-child td {
  border-bottom: none;
}

.rp-price-subtitle-row td {
  background: #f4f4f4;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
}

.rp-price-range-row td {
  padding: 4px 10px;
  background: #fafafa;
  color: #777777;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 500;
}

.rp-price-value-row td {
  background: #ffffff;
  color: #393185;
  font-size: 15px;
  font-weight: 700;
}

.rp-price-left {
  text-align: left;
  color: #333333 !important;
  font-weight: 700;
  white-space: nowrap;
}

.rp-price-range-cell {
  color: #777777 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.rp-price-table-error {
  padding: 14px 16px;
  background: #fff3f3;
  border-left: 4px solid #dc353f;
  border-radius: 8px;
  color: #555555;
  font-size: 15px;
  line-height: 1.45;
}

.rp-price-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.rp-price-table-wrapper::-webkit-scrollbar-track {
  background: #f4f4f4;
}

.rp-price-table-wrapper::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 8px;
}

.rp-price-table-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf #f4f4f4;
}

@media (max-width: 600px) {
  .rp-price-table {
    margin: 20px 0;
  }

  .rp-price-table-wrapper {
    border-radius: 12px;
  }

  .rp-price-table-title {
    padding: 12px 14px;
    font-size: 19px;
  }

  .rp-price-table-subtitle {
    padding: 9px 12px;
    font-size: 14px;
  }

  .rp-price-table-html {
    min-width: 520px;
    font-size: 14px;
  }

  .rp-price-table-html td {
    padding: 9px 10px;
  }

  .rp-price-subtitle-row td {
    font-size: 14px;
  }

  .rp-price-range-row td {
    padding: 4px 8px;
    font-size: 12px;
  }

  .rp-price-value-row td {
    font-size: 14px;
  }
}
