.pricing-section {
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(88px, 10vw, 150px) var(--space) clamp(82px, 9vw, 136px);
  scroll-margin-top: 24px;
}

.pricing-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: end;
  gap: clamp(40px, 7vw, 120px);
}

.pricing-heading-row h1,
.pricing-heading-row h2 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.1vw, 74px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}

.pricing-heading-row p {
  max-width: 50ch;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.pricing-update {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 5px;
  padding-bottom: 6px;
}

.pricing-update span,
.pricing-update small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pricing-update strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -.01em;
}

.pricing-update small { margin-top: 7px; }

.pricing-catalog {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 62px;
}

.category-panel,
.operator-panel,
.price-group {
  background: #fbf5f6;
  border-radius: 14px;
}

.category-panel { padding: 26px 18px 20px; position: sticky; top: calc(var(--header-height) + 20px); }
.category-panel h2,
.operator-panel h2 { margin: 0; font-size: 18px; letter-spacing: -.035em; }
.category-panel h2 { padding: 0 8px 17px; }
.category-list { display: grid; gap: 3px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c5a7b1 transparent; }

.category-button {
  min-height: 44px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  background: transparent;
  color: #5e4a52;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.category-button svg { display: none; }
.category-button:hover { background: #f0e3e8; color: var(--accent); }
.category-button.is-active { background: var(--accent); color: var(--paper); }
.category-button.is-active svg { display: block; }

.pricing-results { min-width: 0; }
.operator-panel { padding: 24px 26px; }
.operator-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pricing-search {
  width: min(100%, 420px);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 13px;
  border: 1px solid #dfcfd5; /* taste-skill-ignore: real search field boundary */
  border-radius: 7px;
  background: #fff;
  color: #8b717b;
}
.pricing-search:focus-within { border-color: var(--accent); }
.pricing-search svg { flex: 0 0 auto; width: 17px; height: 17px; }
.pricing-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.pricing-search input::placeholder { color: #947d85; opacity: 1; }
.mobile-filter-trigger { display: none; }
.operator-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.operator-filter {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 7px;
  background: #f1e5e9;
  color: #6d5660;
  font-size: 12px;
  font-weight: 700;
}
.operator-filter:hover { background: #e8d5dc; color: var(--accent); }
.operator-filter.is-active { background: #4a1d2b; color: #fff8fa; }

.pricing-full-link {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.pricing-full-link svg { transition: transform 180ms var(--ease); }
.pricing-full-link:hover svg { transform: translateX(4px); }

.price-groups { display: grid; gap: 10px; margin-top: 12px; }
.price-group { overflow: hidden; }
.price-group[hidden] { display: none; }
.price-group > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 10px 18px; }
.price-group > header h3 { margin: 0; padding-left: 11px; position: relative; font-family: var(--font-display); font-size: 16px; letter-spacing: -.015em; }
.price-group > header h3::before { content: ""; position: absolute; inset: 1px auto 1px 0; width: 5px; border-radius: 4px; background: var(--accent); }
.price-group > header span { color: var(--muted); font-size: 10px; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table th {
  padding: 9px 18px;
  background: #f4e9ed;
  color: #765f68;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}

.pricing-table th:nth-child(1) { width: 24%; }
.pricing-table th:nth-child(2) { width: 50%; }
.pricing-table th:nth-child(3) { width: 26%; text-align: right; }

.pricing-table td {
  height: 42px;
  padding: 8px 18px;
  border-bottom: 1px solid #eadfe3;
  font-size: 12px;
  line-height: 1.35;
  vertical-align: middle;
}

.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table tbody tr:nth-child(even) { background: #fffafb; }
.pricing-table tbody tr:hover { background: #f4e9ed; }
.pricing-table tbody tr[hidden] { display: none; }
.pricing-table td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.pricing-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pricing-table td:last-child strong { font-family: var(--font-display); font-size: 15px; letter-spacing: -.01em; }

.pricing-empty {
  margin: 0;
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
}

.pricing-source-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.price-filter-dialog {
  width: min(100%, 520px);
  max-width: none;
  max-height: min(82dvh, 760px);
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 -14px 36px rgba(54, 22, 32, .16); /* taste-skill-ignore: modal sheet floats above the page */
}

.price-filter-dialog::backdrop { background: rgba(38, 20, 26, .38); }
.price-filter-sheet { padding: 18px 18px max(18px, env(safe-area-inset-bottom)); }
.price-filter-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.price-filter-header h2 { margin: 0; font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.price-filter-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7eef1;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}
.price-filter-section { margin-top: 20px; }
.price-filter-section h3 { margin: 0 0 10px; font-size: 14px; }
.price-filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.sheet-filter-option {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  background: #f8f3f5;
  color: #5d4850;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}
.sheet-filter-option::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 1px solid #c5aeb6;
  border-radius: 50%;
}
.sheet-filter-option.is-active { background: #f0e2e7; color: var(--accent); }
.sheet-filter-option.is-active::after { border: 4px solid var(--accent); }
.sheet-filter-option[hidden] { display: none; }
.price-filter-actions { margin-top: 20px; }
.price-filter-apply {
  width: 100%;
  min-height: 48px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 760px) {
  .pricing-section { padding-top: 76px; padding-bottom: 84px; }
  .pricing-heading-row { grid-template-columns: 1fr; gap: 30px; }
  .pricing-heading-row h1,
  .pricing-heading-row h2 { max-width: none; font-size: clamp(38px, 10.25vw, 46px); }
  .pricing-heading-row p { margin-top: 21px; font-size: 14px; }
  .pricing-update { padding: 20px 0 0; background: transparent; }
  .pricing-update strong { font-size: 18px; }
  .pricing-catalog { display: block; margin-top: 42px; }
  .category-panel { display: none; }
  .pricing-results { margin-top: 0; }
  .operator-panel { padding: 0; border-radius: 0; background: transparent; }
  .operator-panel-heading { display: none; }
  .pricing-search { width: 100%; min-height: 46px; margin-top: 0; background: #fff; }
  .mobile-filter-trigger {
    width: 100%;
    min-height: 54px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    margin-top: 9px;
    padding: 8px 13px;
    border-radius: 8px;
    background: #f5eaee;
    color: var(--ink);
    text-align: left;
  }
  .mobile-filter-trigger > svg:first-child { width: 19px; height: 19px; color: var(--accent); }
  .mobile-filter-trigger span { min-width: 0; display: grid; gap: 1px; }
  .mobile-filter-trigger small { color: #6c505a; font-size: 11px; line-height: 1.25; }
  .mobile-filter-trigger strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  .mobile-filter-chevron { width: 18px; height: 18px; color: #8c737c; }
  .operator-filters { display: none; }
  .operator-filter { flex: 0 0 auto; }
  .price-groups { margin-top: 10px; gap: 10px; }
  .price-group { border-radius: 12px; }
  .price-group > header { min-height: 44px; padding: 9px 12px; }
  .price-group > header h3 { font-size: 15px; }
  .pricing-table { table-layout: fixed; }
  .pricing-table th { padding: 8px 10px; font-size: 11px; }
  .pricing-table th:nth-child(1) { width: 28%; }
  .pricing-table th:nth-child(2) { width: 40%; }
  .pricing-table th:nth-child(3) { width: 32%; }
  .pricing-table td { height: 40px; padding: 7px 10px; font-size: 12px; }
  .pricing-table td:last-child strong { font-size: 13px; }
  .pricing-source-note { margin-top: 12px; }
}

