/* Services root page — category grid */
.svc-catalog--root .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.cat-card {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon body arrow";
  gap: 18px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  text-decoration: none;
  color: #163E40;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  align-items: center;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(22,62,64,.1);
}
.cat-card__icon {
  grid-area: icon;
  width: 56px; height: 56px;
  background: rgba(34,100,104,.08);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #154F58;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.cat-card:hover .cat-card__icon {
  background: #226468;
  color: #fff;
}
.cat-card__body { grid-area: body; min-width: 0; }
.cat-card__title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #163E40;
  margin-bottom: 4px;
  line-height: 1.2;
}
.cat-card__desc {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #6b7a8c;
  line-height: 1.4;
  margin-bottom: 10px;
}
.cat-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-card__count {  font-family: 'Poppins', sans-serif;  font-size: 12.5px;  color: #6b7a8c;  font-weight: 500;  letter-spacing: .01em;}
.cat-card__price {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #154F58;
}
.cat-card__arrow {
  grid-area: arrow;
  color: #c5cdd8;
  font-size: 26px;
  transition: color .2s, transform .15s;
  align-self: center;
}
.cat-card:hover .cat-card__arrow {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .svc-catalog--root .cat-grid { grid-template-columns: 1fr; gap: 10px; }
  .cat-card { padding: 16px; gap: 14px; }
  .cat-card__icon { width: 48px; height: 48px; font-size: 26px; }
  .cat-card__title { font-size: 15px; }
  .cat-card__desc { font-size: 12px; }
}

/* Anatomy SVG icons — masked colored shapes */
.anatomy-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #226468;
  -webkit-mask-image: var(--icon);
          mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: background-color .2s;
}
.cat-card:hover .anatomy-icon { background-color: #ffffff; }
@media (max-width: 575px) {
  .anatomy-icon { width: 26px; height: 26px; }
}

/* Search bar (extracted from svc-hero) */
.svc-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: -40px auto 40px;
  position: relative;
  z-index: 5;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 20px 50px -20px rgba(22,62,64,.18);
}
.svc-search-bar > i.bx-search { font-size: 22px; color: #226468; flex-shrink: 0; }
.svc-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15.5px;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #163E40;
  background: transparent;
  padding: 6px 0;
}
.svc-search-bar input::placeholder { color: #9ca3af; }
.svc-search-bar button {
  background: none;
  border: none;
  font-size: 20px;
  color: #9ca3af;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s, color .15s;
  padding: 0 6px;
}
.svc-search-bar button:hover { color: #6B237A; }

@media (max-width: 575px) {
  .svc-search-bar { margin: -28px 14px 28px; padding: 10px 14px; }
  .svc-search-bar input { font-size: 14.5px; }
}
