/* =========================================
   Block: Pricing
   Price list with payment note, optional
   "What's included" toggle and footnote.
   ========================================= */

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
}

.pricing-note svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  flex-shrink: 0;
}

.pricing-note span {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.pricing-list {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pricing-item:hover {
  border-color: var(--navy);
}

.pricing-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
}

button.pricing-row {
  cursor: pointer;
}

/* Plain rows (no toggle) reserve the chevron space
   (20px icon + 16px gap) so all prices align in one column */
div.pricing-row {
  padding-right: 60px;
}

.pricing-service {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--orange);
  white-space: nowrap;
}

.pricing-vat {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 4px;
}

.pricing-row svg {
  width: 20px;
  height: 20px;
  stroke: var(--grey-mid);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.pricing-item.open .pricing-row svg {
  transform: rotate(180deg);
}

.pricing-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.pricing-item.open .pricing-answer {
  max-height: 800px;
}

.pricing-included {
  padding: 0 24px 24px;
}

.pricing-included-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* Reuses .text-block-list / .text-list-item pills from theme.css,
   but allows long items to wrap over multiple lines */
.pricing-included .text-block-list {
  margin-bottom: 0;
}

.pricing-included .text-list-item {
  align-items: flex-start;
  border-radius: var(--radius-md);
}

.pricing-included .text-list-item span {
  white-space: normal;
}

.pricing-footnote {
  max-width: 800px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--grey-mid);
}

/* --- Mobile (479px) --- */
@media (max-width: 479px) {
  .pricing-row {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 18px;
  }

  /* Price is left-aligned on mobile, no chevron column to match */
  div.pricing-row {
    padding-right: 18px;
  }

  .pricing-service {
    flex: 1 1 100%;
  }

  .pricing-price {
    align-items: flex-start;
    font-size: 20px;
    white-space: normal;
  }

  .pricing-row svg {
    margin-left: auto;
  }

  .pricing-included {
    padding: 0 18px 18px;
  }
}