/* Compact service tiles in main column — auto width, right-aligned */
.service-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
  padding: 8px 0 4px;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.service-banners--in-main {
  width: 100%;
  max-width: 100%;
  justify-content: flex-end;
}

.service-banners__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  min-height: 0;
  height: 36px;
  padding: 0 12px 0 4px;
  border-radius: 8px;
  border: 1px solid rgba(30, 74, 122, 0.16);
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(120% 140% at 0% 50%, rgba(59, 111, 217, 0.16) 0%, transparent 52%),
    radial-gradient(90% 120% at 100% 0%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
    linear-gradient(145deg, #f4f8fd 0%, #e4eef9 48%, #d5e4f4 100%);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 4px 10px rgba(30, 74, 122, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.service-banners__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 10px,
      rgba(255, 255, 255, 0.04) 10px 11px
    );
}

.service-banners__item::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -18px;
  width: 56px;
  height: 56px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}

.service-banners__item:nth-child(2) {
  background:
    radial-gradient(120% 140% at 0% 50%, rgba(14, 116, 144, 0.14) 0%, transparent 52%),
    radial-gradient(90% 120% at 100% 100%, rgba(59, 111, 217, 0.1) 0%, transparent 48%),
    linear-gradient(145deg, #f3f9fc 0%, #e2f0f6 48%, #d3e6f1 100%);
  border-color: rgba(14, 116, 144, 0.16);
  min-width: 220px;
  padding-right: 18px;
}

.service-banners__item:hover {
  border-color: rgba(30, 74, 122, 0.28);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 14px rgba(30, 74, 122, 0.1);
}

.service-banners__media,
.service-banners__body {
  position: relative;
  z-index: 1;
}

.service-banners__media {
  flex: 0 0 auto;
  width: 40px;
  height: 28px;
  display: grid;
  place-items: center;
  line-height: 0;
  background: transparent;
  align-self: center;
}

.service-banners__media img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 52px;
  max-height: none;
  object-fit: contain;
  margin: -10px -2px -8px 0;
  filter: drop-shadow(0 2px 5px rgba(30, 74, 122, 0.18));
  transition: transform 0.15s ease;
}

.service-banners__item:hover .service-banners__media img {
  transform: translateY(-1px) scale(1.03);
}

.service-banners__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  line-height: 1.1;
  padding-left: 4px;
  padding-right: 0;
}

.service-banners__item:nth-child(2) .service-banners__body {
  padding-left: 8px;
}

.service-banners__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e4a7a;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.15;
}

.service-banners__sub {
  font-size: 10px;
  font-weight: 500;
  color: #5b6b7c;
  white-space: nowrap;
  line-height: 1.15;
}

/* Price list above catalog in sidebar */
.sidebar-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d8e5d8;
  background: linear-gradient(180deg, #f7fbf7 0%, #eef7ee 100%);
  text-decoration: none;
  color: #1f2937;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-price:hover {
  border-color: #9ccc9c;
  background: #eaf6ea;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
}

.sidebar-price__icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
}

.sidebar-price__text {
  font-size: 13px;
  font-weight: 700;
  color: #1b5e20;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .service-banners {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .service-banners__item {
    width: 100%;
    height: auto;
    min-height: 36px;
    padding: 6px 10px 6px 4px;
  }
  .service-banners__sub {
    white-space: normal;
  }
}
