/* Общий блок цен. Одни классы на всех городах: секция, заголовок, таблица, «внимание». */
body .b24-price-section {
  padding: 80px 0;
  background-color: #ffffff;
  background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
  background-size: 24px 24px;
  font-family: Inter, sans-serif;
}

body .b24-price-section .b24-price-container {
  max-width: 1400px !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 0 20px;
  box-sizing: border-box;
}

body .b24-price-section .b24-price-header {
  text-align: center;
  margin-bottom: 50px;
}

body .b24-price-section .b24-price-header h2 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

body .b24-price-section .b24-price-header h2::after {
  content: none;
}

body .b24-price-section .b24-price-group-title {
  margin: 36px 0 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body .b24-price-section .b24-price-subtitle {
  font-size: 16px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

body .b24-price-section .b24-price-notice {
  margin-top: 30px;
  padding: 20px;
  background: #fffbeb;
  border-left: 4px solid #fbbf24;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #92400e;
  line-height: 1.5;
}

body .b24-price-section .b24-price-notice__icon {
  font-size: 20px;
  line-height: 1;
}

body .b24-price-section .b24-price-notice a {
  color: #92400e;
  text-decoration: underline;
}

/* Общий блок цен. Селекторы длиннее городских и .pricing-table-wrapper. */
.pricing-table-wrapper:has(.b24-table-card),
.pricing-table-scroll:has(.b24-table-card) {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.b24-table-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 0 0 24px;
}

.b24-table-card table.b24-price-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  table-layout: auto;
}

.b24-table-card table.b24-price-table tbody tr:nth-child(even) {
  background-color: #fcfdfe;
}

.b24-table-card table.b24-price-table tr {
  transition: background-color 0.2s ease;
  transform: none;
}

.b24-table-card table.b24-price-table tbody tr:hover {
  background-color: #f0fdf4;
  transform: none;
}

.b24-table-card table.b24-price-table thead th {
  background: #f8fafc;
  padding: 22px 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #64748b;
  text-align: left;
  border: none;
  border-bottom: 2px solid #e2e8f0;
}

.b24-table-card table.b24-price-table thead th:last-child {
  text-align: right;
}

.b24-table-card table.b24-price-table tbody td {
  padding: 20px 25px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  font-weight: 400;
  width: auto;
  text-align: left;
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background: transparent;
}

.b24-table-card table.b24-price-table tbody td:last-child {
  text-align: right;
  width: auto;
}

.b24-table-card table.b24-price-table tr.b24-price-group td {
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.b24-service-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.b24-service-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 17px;
}

.b24-service-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.b24-table-card table.b24-price-table td.b24-price-value {
  font-weight: 800;
  color: #16a34a;
  font-size: 20px;
  white-space: nowrap;
  text-align: right;
  display: table-cell;
}

.b24-table-card table.b24-price-table td.b24-price-value::before {
  content: none;
}

.b24-price-notice {
  margin-top: 24px;
  padding: 20px;
  background: #fffbeb;
  border-left: 4px solid #fbbf24;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #92400e;
}

@media (max-width: 650px) {
  .b24-table-card table.b24-price-table thead { display: none; }
  .b24-table-card table.b24-price-table tr { display: block; padding: 12px 0; border-bottom: 1px solid #eee; transform: none; }
  .b24-table-card table.b24-price-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 8px 20px;
    border: none;
    text-align: left !important;
  }
  .b24-table-card table.b24-price-table td.b24-price-value {
    white-space: normal;
    font-size: 22px;
    margin-top: 6px;
    display: block;
  }
}
