.catalog-page {
  background:
    radial-gradient(circle at 0 0, rgba(174, 210, 52, 0.18), transparent 28%),
    #f4f7f0;
  padding-top: 28px;
  padding-bottom: 180px;
}
.catalog-page .container { max-width: 1140px; }

.catalog-kicker {
  margin: 0 0 8px;
  color: #2d661b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 0 22px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #1c3410 0%, #2d661b 72%);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(28, 52, 16, 0.16);
}
.catalog-intro h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
}
.catalog-intro__copy p:last-child {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}
.catalog-intro .catalog-kicker { color: #aed234; }
.catalog-stats {
  display: flex;
  gap: 12px;
}
.catalog-stats a {
  display: flex;
  flex-direction: column;
  min-width: 112px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
}
.catalog-stats strong {
  color: #aed234;
  font-size: 28px;
  line-height: 1;
}
.catalog-stats span {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

.catalog-note {
  max-width: none;
  margin: 0 0 16px;
  text-align: left;
  color: #5f6b58;
  font-size: 13px;
}
.catalog-centres {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: none;
  margin: 0 0 18px;
}
.catalog-centres button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  color: #1c3410;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(28, 52, 16, 0.06);
  cursor: pointer;
}
.catalog-centres button.is-active {
  background: #2d661b;
  color: #fff;
}
.catalog-centre {
  padding: 8px 14px;
  background: #fff;
  border-radius: 999px;
  color: #1c3410;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(28, 52, 16, 0.06);
}
.catalog-centre--missing {
  background: #fff8e6;
  color: #5c4a12;
  font-weight: 600;
}
.catalog-alert {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  border-radius: 14px;
  color: #5c4a12;
  padding: 14px 18px;
  margin: 0 0 18px;
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
}
.catalog-alert a,
.catalog-back { color: #2d661b; font-weight: 700; }

.catalog-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 28px;
  padding: 12px 76px 12px 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(28, 52, 16, 0.06);
}
.catalog-tabs {
  display: flex;
  gap: 8px;
  margin: 0;
}
.catalog-tabs a {
  display: inline-block;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #f0f5e8;
  color: #1c3410;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.catalog-tabs a span {
  margin-left: 6px;
  color: #2d661b;
}
.catalog-tabs a.is-active {
  background: #2d661b;
  color: #fff;
}
.catalog-tabs a.is-active span { color: #aed234; }
.catalog-tools.is-packages { grid-template-columns: minmax(0, 1fr) 240px; }
.catalog-tools.is-tests { grid-template-columns: minmax(0, 1fr) 240px 240px; }
.catalog-tools select[hidden] { display: none !important; }
.catalog-block[hidden] { display: none !important; }
.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 10px;
  margin: 0;
  max-width: none;
}
.catalog-tools input,
.catalog-tools select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e1ead6;
  border-radius: 12px;
  background: #f7faf3;
  color: #1c3410;
  font-size: 15px;
}
.catalog-tools input:focus,
.catalog-tools select:focus {
  outline: 2px solid #aed234;
  border-color: #2d661b;
  background: #fff;
}

.catalog-block { scroll-margin-top: 24px; }
.catalog-block + .catalog-block { margin-top: 48px; }
.catalog-block h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  color: #1c3410;
  font-size: 26px;
}
.catalog-block h3 span {
  color: #2d661b;
  font-size: 16px;
}
.catalog-empty {
  margin: 16px 0 0;
  padding: 22px;
  background: #fff;
  border-radius: 16px;
  color: #666;
  text-align: center;
}
.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-right: 64px;
}
.catalog-pager[hidden] { display: none !important; }
.catalog-pager p {
  margin: 0;
  color: #5f6b58;
  font-size: 13px;
  font-weight: 700;
}
.catalog-pager div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.catalog-pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c3410;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.catalog-pager button.is-current {
  background: #2d661b;
  color: #fff;
}
.catalog-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}
.catalog-pager span {
  display: inline-flex;
  align-items: center;
  color: #5f6b58;
  font-weight: 700;
}

.catalog-page .pkg-grid { gap: 18px; }
.catalog-page .pkg-card {
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 52, 16, 0.06);
  overflow: hidden;
}
.catalog-page .pkg-card::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #2d661b, #aed234);
}
.catalog-page .pkg-card__body { padding: 20px 20px 18px; }
.catalog-page .pkg-card__tag {
  border-radius: 999px;
  background: #eef6df;
}
.catalog-where {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.test-row__name .catalog-where {
  display: flex;
  margin: 4px 0 0;
}
.catalog-where span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f0df;
  color: #2d661b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.catalog-where span[data-centre="2nd"] {
  background: #e7f3fb;
  color: #1a5276;
}
.catalog-page .pkg-card h2 { font-size: 18px; line-height: 1.3; }
.catalog-page .pkg-card__price {
  margin-bottom: 12px;
  font-size: 22px;
}
.catalog-page .pkg-card ul {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef3e6;
}
.catalog-page .pkg-card__actions { gap: 8px; }
.catalog-page .pkg-card .btn-theme,
.catalog-page .pkg-card .book-now-btn,
.catalog-page .catalog-detail .btn-theme,
.catalog-page .catalog-detail .book-now-btn {
  min-height: 40px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}
.catalog-page .pkg-card[hidden] { display: none !important; }

.test-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(28, 52, 16, 0.06);
}
.test-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(120px, 0.8fr) minmax(90px, 0.5fr) auto auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef3e6;
  color: inherit;
  text-decoration: none;
}
.test-row:last-child { border-bottom: 0; }
.test-row:hover { background: #f7faef; }
.test-row--head {
  background: #1c3410;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.test-row--head:hover { background: #1c3410; }
.test-row[hidden] { display: none !important; }
.test-row__name {
  color: #1c3410;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.test-row__name:hover { color: #2d661b; }
.test-row__meta,
.test-row__sample { color: #667062; font-size: 13px; }
.test-row__price {
  color: #2d661b;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}
.test-row .book-now-btn {
  min-height: 36px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
}

.catalog-tests { background: #f4f7f0; }
.catalog-detail {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(28, 52, 16, 0.08);
}
.catalog-back { display: inline-block; margin-bottom: 18px; }
.catalog-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef3e6;
}
.catalog-detail h2 {
  margin: 0;
  color: #1c3410;
  font-size: 34px;
  line-height: 1.15;
}
.catalog-detail__buy { text-align: right; }
.catalog-detail__price {
  margin: 0 0 12px;
  color: #2d661b;
  font-size: 28px;
  font-weight: 700;
}
.catalog-detail__meta {
  margin: 0 0 18px;
  color: #667062;
  font-size: 14px;
  line-height: 1.6;
}
.catalog-detail p { color: #3d4638; line-height: 1.6; }
.catalog-detail table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
  overflow: hidden;
  border-radius: 14px;
}
.catalog-detail th,
.catalog-detail td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef3e6;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.catalog-detail th {
  background: #f7faef;
  color: #1c3410;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.catalog-detail td:last-child,
.catalog-detail th:last-child { text-align: right; }
.catalog-detail tr:last-child td { border-bottom: 0; }

.catalog-cart-dock {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 88px;
  bottom: 16px;
  max-height: 220px;
  overflow: auto;
  padding: 14px 16px;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 52, 16, 0.18);
}
.catalog-cart-dock[hidden] { display: none; }
.catalog-cart-dock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.catalog-cart-dock__head h3 {
  margin: 0;
  color: #1c3410;
  font-size: 15px;
}
.catalog-cart-dock__head a { color: #2d661b; font-size: 13px; font-weight: 700; }
.catalog-cart-dock__notice {
  margin: 8px 0 0;
  color: #2d661b;
  font-size: 13px;
  font-weight: 700;
}
.catalog-cart-dock ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.catalog-cart-dock li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid #eef3e6;
  color: #1c3410;
  font-size: 14px;
}
.catalog-cart-dock__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a3b16;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.catalog-cart-dock__remove:disabled { opacity: 0.6; cursor: wait; }
.catalog-cart-dock li strong,
.catalog-cart-dock li em { font-style: normal; font-weight: 700; }
.catalog-cart-dock li em { color: #2d661b; }
.catalog-cart-dock__total {
  margin: 8px 0 0;
  color: #1c3410;
  font-size: 16px;
  font-weight: 700;
}
.cart-add { margin: 0; }
button.book-now-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
button.book-now-btn.is-in-cart { background: #2d661b; color: #fff; }
button.book-now-btn:disabled { opacity: 0.7; cursor: wait; }

@media (max-width: 991px) {
  .catalog-intro,
  .catalog-toolbar,
  .catalog-detail__head { grid-template-columns: 1fr; display: grid; }
  .catalog-detail__head { display: block; }
  .catalog-detail__buy { margin-top: 16px; text-align: left; }
  .catalog-intro h2,
  .catalog-detail h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .catalog-page { padding-bottom: 220px; }
  .catalog-intro { padding: 22px 18px; }
  .catalog-stats { width: 100%; }
  .catalog-stats a { flex: 1; }
  .catalog-toolbar { padding: 12px; }
  .catalog-tabs a { flex: 1; text-align: center; }
  .catalog-tools,
  .catalog-tools.is-packages,
  .catalog-tools.is-tests { grid-template-columns: 1fr; }
  .test-row,
  .test-row--head { grid-template-columns: 1fr auto; }
  .test-row--head,
  .test-row__sample { display: none; }
  .test-row .cart-add { grid-column: 1 / -1; }
  .catalog-detail { padding: 20px 16px 24px; }
  .catalog-cart-dock { left: 12px; right: 12px; bottom: 12px; padding-right: 72px; }
}
