/* Services v2 — misma esencia visual que app-addfunds-v2 / app-orders-v2 */

section.services.app-services-v2 .d-card.service {
  background: var(--color-0);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  margin-bottom: 20px;
}

section.services.app-services-v2 div.d-card.service {
  background: var(--color-0);
}

/* Paneles addfunds */
section.services.app-services-v2 .addfunds-panel {
  background: var(--color-0);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

section.services.app-services-v2 .addfunds-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, rgba(40, 203, 105, 0.15), transparent);
  border-bottom: 1px solid var(--border-1);
}

section.services.app-services-v2 .addfunds-panel__head i {
  color: var(--color-3);
  font-size: 1.1rem;
}

section.services.app-services-v2 .addfunds-panel__body {
  padding: 18px;
}

section.services.app-services-v2 .addfunds-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
  font-weight: 600;
}

section.services.app-services-v2 .addfunds-input-wrap {
  display: flex;
  align-items: center;
  background: var(--color-1);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  overflow: hidden;
}

section.services.app-services-v2 .addfunds-chip {
  border: 1px solid var(--border-1);
  background: var(--color-1);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

section.services.app-services-v2 .addfunds-chip:hover {
  border-color: var(--color-3);
  color: var(--color-3);
}

section.services.app-services-v2 .addfunds-chip.is-active,
section.services.app-services-v2 .addfunds-chip:focus {
  outline: none;
}

/* Filtros de red social — chips */
section.services.app-services-v2 .services-list {
  max-width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border-radius: 0;
}

section.services.app-services-v2 .services-list ul {
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}

section.services.app-services-v2 .services-list ul li {
  margin: 0;
  display: flex;
}

section.services.app-services-v2 .services-list-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-1);
  background: var(--color-1);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

section.services.app-services-v2 .services-list-filter:hover {
  border-color: rgba(40, 203, 105, 0.45);
  transform: translateY(-1px);
}

section.services.app-services-v2 .services-list-filter.active {
  border-color: var(--color-3);
  box-shadow: 0 0 0 1px var(--color-3);
  background: rgba(40, 203, 105, 0.06);
}

section.services.app-services-v2 .services-list ul li i {
  font-size: 20px !important;
}

/* Búsqueda */
section.services.app-services-v2 .services-search-wrap {
  width: 100%;
}

section.services.app-services-v2 .services-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  height: 48px;
  padding: 0 14px;
  box-shadow: none !important;
}

section.services.app-services-v2 .services-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border-1);
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-3);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

section.services.app-services-v2 .services-search-btn:hover {
  background: rgba(40, 203, 105, 0.12);
  color: #fff;
}

/* Toolbar — dropdown visible fuera del panel (gana a .d-card.service overflow:hidden) */
section.services.app-services-v2 .d-card.service.services-toolbar-panel,
section.services.app-services-v2 .services-toolbar-panel.addfunds-panel {
  overflow: visible;
}

section.services.app-services-v2 .services-toolbar-panel .addfunds-panel__body {
  overflow: visible;
}

section.services.app-services-v2 .services-toolbar-row {
  align-items: flex-end;
}

section.services.app-services-v2 .services-currency-dropdown {
  position: relative;
  width: 100%;
  z-index: 20;
}

section.services.app-services-v2 .services-currency-label {
  visibility: hidden;
  margin-bottom: 8px;
  min-height: 1em;
}

section.services.app-services-v2 .services-currency-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  min-height: 48px;
}

section.services.app-services-v2 .services-currency-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1050;
  display: none;
  float: none;
  background: var(--color-0);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 8px;
  min-width: 100%;
  margin: 0;
}

section.services.app-services-v2 .services-currency-dropdown.open > .dropdown-menu,
section.services.app-services-v2 .services-currency-dropdown.show > .dropdown-menu,
section.services.app-services-v2 .services-currency-dropdown .dropdown-menu.show {
  display: block;
}

section.services.app-services-v2 .services-currency-dropdown .dropdown-menu li {
  list-style: none;
}

section.services.app-services-v2 .services-currency-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

section.services.app-services-v2 .services-currency-dropdown .dropdown-menu a:hover {
  background: rgba(40, 203, 105, 0.1);
  color: var(--color-3);
}

/* Categorías */
section.services.app-services-v2 .service-category {
  margin-bottom: 24px;
}

section.services.app-services-v2 .service-content-head {
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(40, 203, 105, 0.15), transparent);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  margin-bottom: 14px;
}

section.services.app-services-v2 .service-cat-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

section.services.app-services-v2 .service-cat-header {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

section.services.app-services-v2 .service-cat-header span {
  color: var(--color-3);
}

section.services.app-services-v2 .s-count {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  background: var(--color-1);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  padding: 6px 12px;
}

section.services.app-services-v2 .s-count strong {
  color: var(--color-3);
}

/* Tarjetas de servicio */
section.services.app-services-v2 .service-item {
  background: var(--color-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 140px;
}

section.services.app-services-v2 .service-category {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

section.services.app-services-v2 .services-modern-body.is-catalog-pending {
  min-height: 40vh;
}

/* Sin banner de 450KB en /services: el hero extra ya no hace falta */
body:has(.app-content--services-guest) .services-guest-hero {
  display: none !important;
}

/* Invitado: header absolute ya no compite con el listado */
body.page-services-guest .header {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 100;
}

body.page-services-guest .app-content--services-guest {
  margin-top: 0 !important;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

body.page-services-guest .services-guest-spacer {
  display: none;
}

/*
 * Dropdowns idioma/moneda en /services:
 * Bootstrap 4 pone .navbar-nav .dropdown-menu { position: static },
 * así el chip .langs se agranda (una card) y el transform pinta otra.
 * Forzamos absolute como hace Popper en el resto del panel.
 */
.navbar-left-block.langs {
  overflow: visible;
}
.navbar-left-block.langs .dropdown {
  position: relative;
}
.navbar-left-block.langs .dropdown-menu {
  position: absolute !important;
  top: 100%;
  left: 0;
  float: none;
  width: auto;
  min-width: 10rem;
  z-index: 10820;
}
.navbar-left-block.langs .dropdown.open > .dropdown-menu,
.navbar-left-block.langs .dropdown.show > .dropdown-menu,
.navbar-left-block.langs .dropdown-menu.show,
.app-header .dropdown-menu.menu-dd.show {
  display: block;
}

/*
 * Modal servicios: BS3 JS añade .in pero el tema carga BS4 CSS (.show).
 * Puenteamos ambas clases + z-index alto (como addfunds-bn-modal).
 */
#servicesDetailModal {
  z-index: 10810 !important;
}

#servicesDetailModal.in,
#servicesDetailModal.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: auto;
}

#servicesDetailModal.in .modal-dialog,
#servicesDetailModal.show .modal-dialog {
  transform: none !important;
  -webkit-transform: none !important;
  margin: 1.75rem auto;
  max-width: 500px;
  width: calc(100% - 16px);
  pointer-events: none;
}

#servicesDetailModal .modal-content {
  pointer-events: auto;
}

body.modal-open .modal-backdrop {
  z-index: 10800 !important;
}

/* Sin fade: el backdrop + modal-open reflow del dashboard se sentían lentos. */
#servicesDetailModal,
#servicesDetailModal.fade,
#servicesDetailModal .modal-dialog,
body.modal-open .modal-backdrop,
body.modal-open .modal-backdrop.fade {
  transition: none !important;
  animation: none !important;
}

body.dashboard-body.modal-open {
  padding-right: 0 !important;
}

body.modal-open .modal-backdrop.fade,
body.modal-open .modal-backdrop.in,
body.modal-open .modal-backdrop.show {
  opacity: 0.5 !important;
}

section.services.app-services-v2 .addfunds-summary__cta,
#servicesDetailModal .addfunds-summary__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-3) !important;
  color: var(--color-0) !important;
  font-weight: 700;
  border: none !important;
  border-radius: 12px;
  padding: 12px 20px;
  min-height: 48px;
  text-decoration: none !important;
  transition: filter 0.2s ease;
}

section.services.app-services-v2 .addfunds-summary__cta:hover,
#servicesDetailModal .addfunds-summary__cta:hover {
  filter: brightness(1.05);
  color: var(--color-0) !important;
  text-decoration: none !important;
}

section.services.app-services-v2 .service-item:hover {
  border-color: rgba(40, 203, 105, 0.45);
  background: rgba(40, 203, 105, 0.03);
}

section.services.app-services-v2 .services-item-top {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-1) !important;
  padding-bottom: 14px;
}

section.services.app-services-v2 .services-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 12px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-3);
  background: var(--color-0);
  border: 1px solid var(--border-1);
  border-radius: 10px;
}

section.services.app-services-v2 .services-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

section.services.app-services-v2 .services-rate {
  color: var(--color-3);
  font-size: 1.1rem;
  font-weight: 800;
  white-space: nowrap;
}

section.services.app-services-v2 .btn-favorite .favorite-btn,
section.services.app-services-v2 .favorite-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(40, 203, 105, 0.28);
  background: rgba(40, 203, 105, 0.08);
  color: rgba(255, 255, 255, 0.55);
  overflow: visible;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

section.services.app-services-v2 .favorite-btn:hover {
  border-color: rgba(40, 203, 105, 0.65);
  color: var(--color-3);
  transform: scale(1.06);
  background: rgba(40, 203, 105, 0.16);
  box-shadow: 0 0 0 3px rgba(40, 203, 105, 0.12);
}

section.services.app-services-v2 .favorite-btn.is-favorited,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] {
  border-color: rgba(40, 203, 105, 0.75);
  background: linear-gradient(145deg, rgba(40, 203, 105, 0.28), rgba(40, 203, 105, 0.1));
  color: var(--color-3);
  box-shadow: 0 0 18px rgba(40, 203, 105, 0.22);
}

section.services.app-services-v2 .favorite-btn .fas.fa-star {
  color: var(--color-3);
  filter: drop-shadow(0 0 6px rgba(40, 203, 105, 0.55));
  animation: favStarPop 0.45s ease;
}

section.services.app-services-v2 .fav-star-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

section.services.app-services-v2 .fav-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  opacity: 0;
}

section.services.app-services-v2 .favorite-btn.is-favorited .fav-particle--1,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] .fav-particle--1 {
  animation: favParticle1 2.2s ease-out infinite;
}
section.services.app-services-v2 .favorite-btn.is-favorited .fav-particle--2,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] .fav-particle--2 {
  animation: favParticle2 2.6s ease-out infinite 0.3s;
  width: 2px;
  height: 2px;
  background: #bbf7d0;
}
section.services.app-services-v2 .favorite-btn.is-favorited .fav-particle--3,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] .fav-particle--3 {
  animation: favParticle3 2s ease-out infinite 0.6s;
  width: 4px;
  height: 4px;
}
section.services.app-services-v2 .favorite-btn.is-favorited .fav-particle--4,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] .fav-particle--4 {
  animation: favParticle1 2.8s ease-out infinite 0.9s;
  background: var(--color-3);
}
section.services.app-services-v2 .favorite-btn.is-favorited .fav-particle--5,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] .fav-particle--5 {
  animation: favParticle2 2.4s ease-out infinite 1.2s;
  width: 2px;
  height: 2px;
}
section.services.app-services-v2 .favorite-btn.is-favorited .fav-particle--6,
section.services.app-services-v2 .favorite-btn[aria-pressed="true"] .fav-particle--6 {
  animation: favParticle3 3s ease-out infinite 1.5s;
  width: 3px;
  height: 3px;
  background: #ecfdf5;
}

@keyframes favParticle1 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 1; transform: translate(6px, -8px) scale(1); }
  100% { opacity: 0; transform: translate(18px, -14px) scale(0.2); }
}
@keyframes favParticle2 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 0.9; transform: translate(-7px, -5px) scale(1); }
  100% { opacity: 0; transform: translate(-16px, -12px) scale(0.15); }
}
@keyframes favParticle3 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  12% { opacity: 1; transform: translate(4px, 7px) scale(1); }
  100% { opacity: 0; transform: translate(12px, 16px) scale(0.1); }
}
@keyframes favStarPop {
  0% { transform: scale(0.6); }
  55% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Filtro Favoritos en toolbar */
section.services.app-services-v2 .services-list-filter.favorites {
  position: relative;
  overflow: visible;
  border-color: rgba(40, 203, 105, 0.35) !important;
  color: var(--color-3) !important;
}
section.services.app-services-v2 .services-list-filter.favorites.active,
section.services.app-services-v2 .services-list-filter.favorites:hover {
  background: rgba(40, 203, 105, 0.16) !important;
  border-color: rgba(40, 203, 105, 0.7) !important;
  box-shadow: 0 0 16px rgba(40, 203, 105, 0.2);
}
section.services.app-services-v2 .services-list-filter.favorites .fas.fa-star {
  color: var(--color-3);
  filter: drop-shadow(0 0 5px rgba(40, 203, 105, 0.45));
}

/* Stats min / max / avg — solo el badge exterior */
section.services.app-services-v2 .services-item-bottom .sib-first > span.min,
section.services.app-services-v2 .services-item-bottom .sib-first > span.max,
section.services.app-services-v2 .services-item-bottom .sib-first > span.avg {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.82rem;
  background: var(--color-0) !important;
  border: 1px solid var(--border-1);
  border-radius: 10px;
}

section.services.app-services-v2 .services-item-bottom .sib-first > span.min > span,
section.services.app-services-v2 .services-item-bottom .sib-first > span.max > span,
section.services.app-services-v2 .services-item-bottom .sib-first > span.avg > span {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: inherit;
}

section.services.app-services-v2 .services-item-bottom .sib-first > span.min i,
section.services.app-services-v2 .services-item-bottom .sib-first > span.max i,
section.services.app-services-v2 .services-item-bottom .sib-first > span.avg i {
  color: var(--color-3);
  margin-right: 0;
  flex-shrink: 0;
}

section.services.app-services-v2 .services-item-bottom .sib-first > span.min strong,
section.services.app-services-v2 .services-item-bottom .sib-first > span.max strong,
section.services.app-services-v2 .services-item-bottom .sib-first > span.avg strong {
  color: #fff !important;
  margin-left: 2px;
}

/* Botones de acción */
section.services.app-services-v2 .services-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

section.services.app-services-v2 .services-btn-order,
section.services.app-services-v2 .services-btn-detail,
section.services.app-services-v2 .services-btn-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 12px 20px !important;
  text-align: center;
  white-space: normal;
}

section.services.app-services-v2 .services-item-bottom .sib-last .btn {
  height: auto !important;
  line-height: 1.3 !important;
}

section.services.app-services-v2 .services-btn-detail,
section.services.app-services-v2 .services-btn-close {
  border: 1px solid var(--border-1) !important;
  background: var(--color-1) !important;
  color: #fff !important;
}

section.services.app-services-v2 .services-btn-detail:hover,
section.services.app-services-v2 .services-btn-close:hover {
  border-color: var(--color-3) !important;
  color: var(--color-3) !important;
}

section.services.app-services-v2 .services-btn-order {
  min-width: 140px;
}

/*
 * Modal Description — mismo CSS que betamassive.shop (services-enhancements v3).
 * El modal vive en body, así que se duplican los selectores en #servicesDetailModal.
 */
#servicesDetailModal .modal-content {
  background: var(--color-0);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

#servicesDetailModal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, rgba(40, 203, 105, 0.15), transparent);
  border-bottom: 1px solid var(--border-1);
  padding: 16px 20px;
}

#servicesDetailModal .modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
  flex: 1 1 auto;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#servicesDetailModal .modal-body {
  color: rgba(255, 255, 255, 0.85);
  padding: 18px 20px;
  line-height: 1.55;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  word-break: break-word;
}

#servicesDetailModal .modal-footer,
#servicesDetailModal .services-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--border-1);
  background: var(--color-1);
  padding: 14px 20px;
}

#servicesDetailModal .close {
  color: rgba(255, 255, 255, 0.55);
  text-shadow: none;
  opacity: 1;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0 4px;
  flex: 0 0 auto;
  transition: color 0.15s ease;
}

#servicesDetailModal .close:hover {
  color: #fff;
}

#servicesDetailModal .services-btn-order,
#servicesDetailModal .services-btn-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 12px 20px !important;
  text-align: center;
  white-space: normal;
}

#servicesDetailModal .services-btn-close {
  border: 1px solid var(--border-1) !important;
  background: var(--color-1) !important;
  color: #fff !important;
}

#servicesDetailModal .services-btn-close:hover {
  border-color: var(--color-3) !important;
  color: var(--color-3) !important;
}

/* Toolbar spacing */
section.services.app-services-v2 .services-toolbar-spacer {
  margin-top: 0;
}

section.services.app-services-v2 .services-toolbar-row {
  margin-bottom: 0;
}

section.services.app-services-v2 .services-modern-body {
  padding-top: 8px;
}

@media (max-width: 991px) {
  section.services.app-services-v2 .services-list ul {
    justify-content: center;
  }

  section.services.app-services-v2 .services-currency-btn {
    width: 100%;
  }

  section.services.app-services-v2 .service-cat-side {
    flex-direction: column;
    align-items: flex-start;
  }

  section.services.app-services-v2 .s-count {
    align-self: stretch;
    text-align: center;
  }
}

@media (max-width: 768px) {
  section.services.app-services-v2 .services-item-top {
    flex-direction: column;
    align-items: stretch;
  }

  section.services.app-services-v2 .sit-last {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  section.services.app-services-v2 .services-item-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  section.services.app-services-v2 .sib-first {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  section.services.app-services-v2 .sib-first > span.min,
  section.services.app-services-v2 .sib-first > span.max,
  section.services.app-services-v2 .sib-first > span.avg {
    width: 100%;
    justify-content: flex-start;
  }

  section.services.app-services-v2 .services-actions {
    width: 100%;
    flex-direction: column;
  }

  section.services.app-services-v2 .services-btn-order,
  section.services.app-services-v2 .services-btn-detail {
    width: 100%;
    justify-content: center;
  }

  #servicesDetailModal .modal-footer,
  #servicesDetailModal .services-modal-footer {
    flex-direction: column;
  }

  #servicesDetailModal .modal-footer .btn,
  #servicesDetailModal .services-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Service Intelligence — trust + badges (Services listing) */
section.services.app-services-v2 .sil-trust-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}
section.services.app-services-v2 .sil-trust-verified { background: rgba(34,197,94,.2); color: #4ade80; }
section.services.app-services-v2 .sil-trust-stable { background: rgba(59,130,246,.2); color: #93c5fd; }
section.services.app-services-v2 .sil-trust-caution { background: rgba(251,191,36,.2); color: #fcd34d; }
section.services.app-services-v2 .sil-trust-risk { background: rgba(239,68,68,.15); color: #f87171; }

section.services.app-services-v2 .sil-service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 0 4px;
}
section.services.app-services-v2 .sil-mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}
section.services.app-services-v2 .sil-mini-badge--verified { background: rgba(34,197,94,.15); color: #4ade80; border-color: rgba(34,197,94,.3); }
section.services.app-services-v2 .sil-mini-badge--stable { background: rgba(59,130,246,.12); color: #93c5fd; border-color: rgba(59,130,246,.25); }
section.services.app-services-v2 .sil-mini-badge--caution { background: rgba(251,191,36,.12); color: #fcd34d; border-color: rgba(251,191,36,.25); }
section.services.app-services-v2 .sil-mini-badge--refill { background: rgba(33,150,243,.12); color: #64b5f6; border-color: rgba(33,150,243,.25); }
section.services.app-services-v2 .sil-mini-badge--cancel { background: rgba(148,163,184,.1); color: #94a3b8; border-color: rgba(148,163,184,.2); }
section.services.app-services-v2 .sil-mini-badge--speed { background: rgba(255,193,7,.12); color: #ffc107; border-color: rgba(255,193,7,.25); }
