/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ─── Price Rows (.hs-*) ───────────────────────────────────── */

.hs-price-table {
  border: 1px solid #E9E9E9;
  background: #FFFFFF;
}

.hs-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #E9E9E9;
}

.hs-price-row:last-child { border-bottom: none; }

.hs-price-name {
  font-family: 'Figtree', Sans-serif;
  font-size: 15px;
  color: #696969;
  flex: 1;
  min-width: 0;
}

.hs-price-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hs-price-val {
  font-family: 'Poppins', Sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #2C2C2C;
  white-space: nowrap;
  flex-shrink: 0;
}

.hs-badge-free {
  font-family: 'Figtree', Sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #D0D0D0;
  white-space: nowrap;
}

/* ─── Standalone blocks (Diagnostyka, Usługi) — rows like accordion items ── */

.hs-price-table--block {
  border: none;
  background: transparent;
}

.hs-price-table--block .hs-price-row {
  background: #2C2C2C;
  border-radius: 7px;
  border-bottom: none;
  margin-bottom: 6px;
}

.hs-price-table--block .hs-price-row:last-child { margin-bottom: 0; }

.hs-price-table--block .hs-price-name { color: #FFFFFF; }

.hs-price-table--block .hs-price-val  { color: #FFFFFF; }

.hs-price-table--block .hs-badge-free {
  background: #FFFFFF;
  border-color: #D0D0D0;
  color: #000000;
}

/* ─── Nested-accordion — price rows inside content slots ────── */

.e-n-accordion-item > .e-con {
  padding: 0 !important;
}

.e-n-accordion-item .hs-price-table {
  border-left: none;
  border-right: none;
  border-top: none;
}

/* Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hs-price-row { padding: 12px 16px; gap: 8px; }
  .hs-badge-free { display: none; }
}
