/* Таблица цен — шорткод [price-table] (shortcode/price-table.php) */
.pt { --pt-green: #30af21; --pt-green-dark: #1f7d14; --pt-green-soft: #eaf6e8; --pt-orange: #ff7a00; --pt-text: #1d2a1f; --pt-muted: #6b776d; --pt-line: #e6ebe6; margin: 10px 0 30px; color: var(--pt-text); }
.pt-title { margin: 0 0 18px !important; font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--pt-text); }

/* ---------- переключатели: вид мусора и оплата ---------- */
.pt-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
.pt-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: #f2f5f2; }
.pt-seg__btn {
  padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 700; line-height: 1.2; color: #4b574d; transition: background-color .15s, color .15s, box-shadow .15s;
}
.pt-seg__btn:hover { color: var(--pt-green-dark); }
.pt-seg__btn.is-active { background: #fff; color: var(--pt-green-dark); box-shadow: 0 2px 8px rgba(20, 60, 25, .1); }
.pt-seg--type .pt-seg__btn.is-active { background: var(--pt-green); color: #fff; }
.pt [hidden] { display: none !important; }

/* ---------- таблица ---------- */
.pt-table-wrap { overflow-x: auto; border: 1px solid var(--pt-line); border-radius: 22px; background: #fff; box-shadow: 0 6px 24px rgba(20, 60, 25, .06); -webkit-overflow-scrolling: touch; }
.pt .pt-table { width: 100%; min-width: 760px; margin: 0 !important; border: 0 !important; border-collapse: collapse; background: none !important; table-layout: fixed; }
.pt .pt-table th, .pt .pt-table td { padding: 16px 18px !important; border: 0 !important; border-top: 1px solid var(--pt-line) !important; background: none !important; text-align: center; vertical-align: middle; }
.pt .pt-table thead th { border-top: 0 !important; padding-top: 22px !important; vertical-align: bottom; }
.pt .pt-table .pt-corner { width: 26%; text-align: left; }
.pt-corner span, .pt-corner__label { display: inline-block; padding: 7px 12px; border-radius: 10px; background: var(--pt-green-soft); font-size: 13px; font-weight: 700; color: var(--pt-green-dark); }
.pt-head img { display: block; width: 100%; max-width: 150px; height: 96px; margin: 0 auto 10px; object-fit: contain; }
.pt-head__name { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--pt-text); }
.pt-head__sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--pt-muted); }

.pt .pt-table .pt-region { text-align: left; }
.pt-region b { display: block; font-size: 15px; font-weight: 700; color: var(--pt-text); }
.pt-region span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--pt-muted); }
.pt .pt-table tbody tr:not(.pt-sep):hover td, .pt .pt-table tbody tr:not(.pt-sep):hover th { background: #fafcfa !important; }
.pt-price { font-size: 19px; font-weight: 800; white-space: nowrap; color: var(--pt-text); }
.pt-p b { font-weight: 800; }
.pt-na { font-size: 20px; color: #b7c0b8; cursor: help; }
.pt-price small, .pt-card__row small { font-size: 13px; font-weight: 600; color: var(--pt-muted); }
.pt-price--load { text-align: left !important; }
.pt .pt-table .pt-sep th { padding: 12px 18px !important; background: #f4f8f3 !important; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-align: left; text-transform: uppercase; color: var(--pt-green-dark); }
.pt .pt-table tfoot td { padding: 14px 18px 20px !important; }

.pt-order {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 160px; padding: 12px 14px; border-radius: 12px;
  background: var(--pt-orange); box-shadow: 0 6px 16px rgba(255, 122, 0, .3); font-size: 15px; font-weight: 700; line-height: 1.2;
  color: #fff !important; text-decoration: none !important; transition: background-color .15s, transform .15s;
}
.pt-order:hover { background: #ff8c1f; transform: translateY(-1px); }

/* ---------- пояснения ---------- */
.pt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 18px; }
.pt .pt-notes { flex: 1 1 420px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pt .pt-notes li { position: relative; margin: 0 0 6px !important; padding: 0 0 0 18px !important; list-style: none !important; font-size: 14px; line-height: 1.5; color: var(--pt-muted); }
.pt .pt-notes li::before { content: "*" !important; position: absolute !important; left: 2px !important; top: 0 !important; width: auto !important; height: auto !important; margin: 0 !important; border: 0 !important; background: none !important; font-weight: 700; color: var(--pt-orange) !important; }
.pt-calc {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; background: var(--pt-green-soft);
  font-size: 15px; font-weight: 700; color: var(--pt-green-dark) !important; text-decoration: none !important; transition: background-color .15s;
}
.pt-calc::after { content: "→"; }
.pt-calc:hover { background: #d9efd5; }

/* ---------- карточки (телефон) ---------- */
.pt-cards { display: none; }
@media (max-width: 767px) {
  .pt-title { font-size: 23px; }
  .pt-table-wrap { display: none; }
  .pt-cards { display: grid; gap: 12px; }
  .pt-card { padding: 16px; border: 1px solid var(--pt-line); border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(20, 60, 25, .05); }
  .pt-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
  .pt-card__head img { flex: 0 0 84px; width: 84px; height: 58px; object-fit: contain; }
  .pt-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px dashed #dfe6df; font-size: 14px; }
  .pt-card__row > span:first-child { color: #4b574d; }
  .pt-card__row .pt-p { white-space: nowrap; }
  .pt-card__row .pt-p b { font-size: 17px; font-weight: 800; color: var(--pt-text); }
  .pt-card__row--na span { font-size: 13px; color: var(--pt-muted) !important; }
  .pt-controls { display: grid; }
  .pt-seg { display: flex; }
  .pt-seg__btn { flex: 1 1 auto; padding: 10px 8px; font-size: 13px; }
  .pt-card .pt-order { max-width: none; margin-top: 10px; }
  .pt-card--load { background: #f7faf6; }
  .pt-card__title { margin-bottom: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--pt-green-dark); }
  .pt-calc { width: 100%; justify-content: center; }
}
