.services-plugin .services-hours-settings .form-label {
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.services-plugin .services-hours-table th,
.services-plugin .services-hours-table td {
  vertical-align: middle;
}

.services-plugin .services-stat-cards .stat-panel {
  margin-bottom: 0;
}

.services-plugin .services-dashboard-table .services-btn-view {
  color: #fff;
}

.services-plugin .services-dashboard-table .services-btn-view:hover {
  color: #fff;
  opacity: 0.92;
}

.services-plugin .services-pricing-mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.services-plugin .services-pricing-mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 16px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 100%;
}

.services-plugin .services-pricing-mode-card:hover {
  border-color: #2c5364;
  box-shadow: 0 4px 12px rgba(44, 83, 100, 0.1);
}

.services-plugin .services-pricing-mode-card.is-selected {
  border-color: #2c5364;
  background: #f0f7fa;
  box-shadow: 0 4px 12px rgba(44, 83, 100, 0.12);
}

.services-plugin .services-pricing-mode-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.services-plugin .services-pricing-mode-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef3f7;
  color: #2c5364;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.services-plugin .services-pricing-mode-card.is-selected .services-pricing-mode-card__icon {
  background: #2c5364;
  color: #fff;
}

.services-plugin .services-pricing-mode-card__title {
  font-weight: 600;
  font-size: 15px;
  color: #212529;
}

.services-plugin .services-pricing-mode-card__desc {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.4;
}

.services-plugin .services-content-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}

.services-plugin .services-content-tabs__scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-plugin .services-content-tabs__scroll::-webkit-scrollbar {
  display: none;
}

.services-plugin .services-content-tabs__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-plugin .services-content-tabs__list > li {
  float: none !important;
  flex: 0 0 auto;
}

.services-plugin .services-content-tabs__list > li > a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  height: 100%;
  padding: 12px 14px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .services-plugin .services-content-tabs__list > li > a {
    padding: 14px 16px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .services-plugin .services-content-tabs__list > li > a {
    padding: 16px 18px;
    font-size: 15px;
  }
}

.services-plugin .services-content-tabs__action {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  padding: 8px 10px 8px 4px;
  white-space: nowrap;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  background: inherit;
}

body.night-mode .services-plugin .services-content-tabs__action {
  border-left-color: var(--card-dark-divider);
}

.services-plugin .service-description img,
.services-plugin .services-detail-description img {
  max-width: 100%;
  height: auto;
}

.services-plugin #services-form .form-label {
  display: block;
  margin-bottom: 0.375rem;
}

.services-plugin #services-form .form-control[type="file"] {
  padding: 0.45rem 0.75rem;
  line-height: 1.5;
}

.services-plugin .services-form-section {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.services-plugin .services-form-section__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fafbfc;
  border-bottom: 1px solid #e8ecf0;
}

.services-plugin .services-form-section__head--split {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.services-plugin .services-form-section__head > i,
.services-plugin .services-form-section__head .fa {
  font-size: 18px;
  color: #2c5364;
  margin-top: 2px;
  flex-shrink: 0;
}

.services-plugin .services-form-section__body {
  padding: 18px;
}

.services-plugin .services-form-section__body .row {
  margin-left: 0;
  margin-right: 0;
}

.services-plugin .services-form-thumb {
  max-height: 100px;
  display: block;
}

.services-plugin .services-package-item {
  border: 1px solid #e8ecf0;
  border-left: 3px solid #2c5364;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fafbfc;
}

.services-plugin .services-package-item:last-child {
  margin-bottom: 0;
}

.services-plugin .services-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  grid-auto-flow: dense;
}

.services-plugin .services-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f6f8;
  min-height: 140px;
  aspect-ratio: 4 / 3;
}

.services-plugin .services-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.services-plugin .services-gallery__item:hover img {
  transform: scale(1.03);
}

.services-plugin .services-gallery__item--video {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

@media (min-width: 768px) {
  .services-plugin .services-gallery__item:nth-child(6n+1),
  .services-plugin .services-gallery__item:nth-child(6n+4) {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 280px;
  }
}

@media (max-width: 575px) {
  .services-plugin .services-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-plugin .services-gallery__item--video {
    grid-column: span 2;
  }
}

.services-plugin .services-form-panel {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fafbfc;
  overflow: hidden;
}

.services-plugin .services-form-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
}

.services-plugin .services-form-panel.is-collapsed .services-form-panel__head {
  border-bottom: none;
}

.services-plugin .services-form-panel__head > i {
  font-size: 18px;
  color: #2c5364;
  flex-shrink: 0;
}

.services-plugin .services-form-panel__head-main {
  flex: 1;
  min-width: 0;
}

.services-plugin .services-form-panel__head-action {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
}

.services-plugin .services-form-panel__head-action .form-check-input {
  width: 2.5em;
  height: 1.25em;
  cursor: pointer;
}

.services-plugin .services-form-panel__body {
  padding: 16px;
}

.services-plugin .services-region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.services-plugin .services-region-card {
  position: relative;
  display: block;
  margin: 0;
  padding: 14px 14px 14px 42px;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.services-plugin .services-region-card:hover {
  border-color: #2c5364;
  box-shadow: 0 4px 12px rgba(44, 83, 100, 0.1);
}

.services-plugin .services-region-card.is-selected {
  border-color: #2c5364;
  background: #f0f7fa;
  box-shadow: 0 4px 12px rgba(44, 83, 100, 0.12);
}

.services-plugin .services-region-card__input {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.services-plugin .services-region-card__check {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 22px;
  height: 22px;
  border: 2px solid #ced4da;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
  background: #fff;
  transition: all 0.2s ease;
}

.services-plugin .services-region-card.is-selected .services-region-card__check {
  border-color: #2c5364;
  background: #2c5364;
  color: #fff;
}

.services-plugin .services-region-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.services-plugin .services-region-card__title {
  font-weight: 600;
  font-size: 15px;
  color: #212529;
}

.services-plugin .services-region-card__country {
  font-size: 13px;
  color: #495057;
}

.services-plugin .services-region-card__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.services-plugin .services-region-card__city {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 20px;
  background: #e9ecef;
  color: #495057;
}

.services-plugin .services-region-card.is-selected .services-region-card__city {
  background: #d6e8ef;
  color: #2c5364;
}

.services-plugin .services-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fafbfc;
}

.services-plugin .services-country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.services-plugin .services-country-option:hover {
  border-color: #2c5364;
}

.services-plugin .services-country-option:has(.services-country-option__input:checked) {
  border-color: #2c5364;
  background: #f0f7fa;
}

.services-plugin .services-country-option__input {
  margin: 0;
  flex-shrink: 0;
}

.services-plugin .services-country-option__label {
  font-size: 13px;
  line-height: 1.3;
}

/* Service detail page */
.services-plugin .services-detail-hero {
  background: #fff;
  overflow: hidden;
}

.services-plugin .services-detail-hero__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}

.services-plugin .services-detail-hero__thumb {
  position: relative;
  flex: 0 0 280px;
  width: 280px;
  min-height: 210px;
  align-self: stretch;
  background: #f1f5f7;
  border-right: 1px solid #e9ecef;
  overflow: hidden;
}

.services-plugin .services-detail-hero__thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-plugin .services-detail-hero__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 42px;
  background: linear-gradient(135deg, #f8fafb 0%, #eef3f6 100%);
}

/* Explore / listing cards — 4:3 cover thumbnails */
.services-plugin .service-product-card .product-image,
.services-card-cover-wrap {
  position: relative;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.services-plugin .service-product-card .product-image img,
.services-card-cover-wrap .services-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-card-cover-wrap .services-card-cover {
  display: block;
}

.services-plugin .services-detail-hero__body {
  flex: 1 1 300px;
  min-width: 0;
  padding: 20px 24px;
}

.services-plugin .services-detail-hero__aside {
  flex: 0 0 240px;
  width: 100%;
  max-width: 260px;
  padding: 24px 24px 24px 0;
  display: flex;
  align-items: flex-start;
}

.services-plugin .services-detail-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #868e96;
}

.services-plugin .services-detail-hero__breadcrumb a {
  color: #2c5364;
  text-decoration: none;
  font-weight: 500;
}

.services-plugin .services-detail-hero__breadcrumb a:hover {
  text-decoration: underline;
}

.services-plugin .services-detail-hero__breadcrumb-sep {
  color: #ced4da;
}

.services-plugin .services-detail-hero__title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 700;
  color: #212529;
}

.services-plugin .services-detail-hero__lead {
  color: #6c757d;
  margin: 0 0 10px;
  line-height: 1.5;
  font-size: 14px;
}

.services-plugin .services-detail-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #495057;
}

.services-plugin .services-detail-hero__meta-user,
.services-plugin .services-detail-hero__meta-page,
.services-plugin .services-detail-hero__meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.services-plugin .services-detail-hero__meta-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.services-plugin .services-detail-hero__meta-user:hover,
.services-plugin .services-detail-hero__meta-page:hover,
.services-plugin .services-detail-hero__meta-rating:hover {
  color: #2c5364;
}

.services-plugin .services-detail-hero__meta-dot {
  color: #ced4da;
}

.services-plugin .services-detail-hero__meta-rating .fa-star {
  color: #f0ad4e;
  font-size: 12px;
}

.services-plugin .services-detail-hero__meta-rating .fa-star-o {
  color: #ced4da;
  font-size: 12px;
}

.services-plugin .services-detail-hero__meta-rating.is-empty {
  color: #868e96;
}

.services-plugin .services-detail-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.services-plugin .services-detail-hero__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f4f6f8;
  color: #495057;
  font-size: 12px;
  line-height: 1.4;
}

.services-plugin .services-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.services-plugin .services-dashboard-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: nowrap;
}

.services-plugin .services-dashboard-actions .btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.services-plugin .services-dashboard-table td {
  vertical-align: middle;
}

.services-plugin .services-analytics-metric {
  height: 100%;
  padding: 14px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  background: #f8fafb;
}

.services-plugin .services-analytics-metric__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
}

.services-plugin .services-analytics-metric__label {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  margin-top: 4px;
}

.services-plugin .services-analytics-metric__hint {
  font-size: 11px;
  margin-top: 2px;
}

.services-plugin .services-request-card {
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.services-plugin .services-request-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.services-plugin .services-request-card__head {
  padding: 18px 18px 0;
}

.services-plugin .services-request-card__head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.services-plugin .services-request-card__category {
  font-size: 12px;
  font-weight: 600;
  color: var(--link-color);
}

.services-plugin .services-request-card__title {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.services-plugin .services-request-card__title a {
  color: inherit;
}

.services-plugin .services-request-card__excerpt {
  margin: 0;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
  min-height: 58px;
}

.services-plugin .services-request-card__body {
  padding: 14px 18px 0;
}

.services-plugin .services-request-card__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.services-plugin .services-request-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #495057;
}

.services-plugin .services-request-card__facts i {
  width: 14px;
  color: #8898a8;
  margin-top: 2px;
}

.services-plugin .services-request-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
  margin-top: 14px;
  border-top: 1px solid #eef1f4;
}

.services-plugin .services-request-success__icon {
  font-size: 56px;
  color: #2dce89;
}

.services-plugin .services-request-detail__title {
  line-height: 1.3;
}

.services-plugin .services-request-detail__aside .services-request-detail__stat + .services-request-detail__stat {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eef1f4;
}

.services-plugin .services-request-detail__stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8898a8;
  margin-bottom: 4px;
}

.services-plugin .services-request-detail__stat-value {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.services-plugin .services-request-card__meta > div + div {
  margin-top: 4px;
}

.services-plugin .services-offer-row:last-child {
  border-bottom: 0 !important;
}

.services-plugin .services-request-detail__description img {
  max-width: 100%;
  height: auto;
}

.services-plugin .services-request-attachment--image {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.services-plugin .services-request-attachment--file {
  display: block;
  color: inherit;
  text-decoration: none;
}

.services-plugin .services-request-attachment--file:hover {
  background: #f8f9fa;
}

.services-plugin .services-request-attachment__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.services-plugin .services-request-detail__description p:last-child {
  margin-bottom: 0;
}

.services-plugin .services-requests-nav {
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}

.services-plugin .services-requests-nav::-webkit-scrollbar {
  display: none;
}

.services-plugin .services-requests-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-plugin .services-requests-nav__list > li {
  float: none !important;
  flex: 0 0 auto;
}

.services-plugin .services-requests-nav__list > li > a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  height: 100%;
  padding: 10px 14px;
  font-size: 13px;
}

.services-plugin .services-detail-reviews__head {
  font-weight: 600;
}

.services-plugin .services-detail-review {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f5;
}

.services-plugin .services-detail-review:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.services-plugin .services-detail-review__avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.services-plugin .services-detail-review__body {
  flex: 1;
  min-width: 0;
}

.services-plugin .services-detail-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.services-plugin .services-detail-review__author {
  font-weight: 600;
  color: #212529;
  text-decoration: none;
}

.services-plugin .services-detail-review__stars .fa-star {
  color: #f0ad4e;
  font-size: 12px;
}

.services-plugin .services-detail-review__stars .fa-star-o {
  color: #ced4da;
  font-size: 12px;
}

.services-plugin .services-detail-review__text {
  color: #495057;
  line-height: 1.55;
  font-size: 14px;
}

.services-plugin .services-review-stars {
  display: flex;
  gap: 4px;
}

.services-plugin .services-review-stars__btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: #ced4da;
  cursor: pointer;
}

.services-plugin .services-review-stars__btn .fa-star {
  color: #f0ad4e;
}

.services-plugin .services-review-stars__btn.is-active .fa-star-o,
.services-plugin .services-review-stars__btn:hover .fa-star-o {
  color: #f0ad4e;
}

.services-plugin .services-detail-pricebox {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafb 0%, #f1f5f7 100%);
  border: 1px solid #e3e9ed;
  text-align: center;
}

.services-plugin .services-detail-pricebox__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  margin-bottom: 6px;
}

.services-plugin .services-detail-pricebox__old {
  font-size: 14px;
  color: #adb5bd;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.services-plugin .services-detail-pricebox__amount {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2c5364;
}

.services-plugin .services-detail-sidebar {
  position: sticky;
  top: 88px;
}

.services-plugin .services-detail-meta-block__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6c757d;
  margin-bottom: 8px;
}

.services-plugin .services-detail-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.services-plugin .services-detail-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f3f5;
  border: 1px solid #e9ecef;
  font-size: 12px;
  color: #495057;
  line-height: 1.4;
}

.services-plugin .services-detail-gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.services-plugin .services-detail-gallery[data-count="1"] {
  grid-template-columns: 1fr;
}

.services-plugin .services-detail-gallery[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.services-plugin .services-detail-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f6f8;
  aspect-ratio: 1 / 1;
}

.services-plugin .services-detail-gallery[data-count="1"] .services-detail-gallery__item {
  aspect-ratio: 16 / 10;
}

.services-plugin .services-detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.services-plugin .services-detail-gallery__item:hover img {
  transform: scale(1.04);
}

.services-plugin .services-detail-videos {
  display: grid;
  gap: 16px;
}

.services-plugin .services-detail-video {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.services-plugin .services-detail-video__title {
  padding: 8px 12px;
  font-size: 13px;
  color: #6c757d;
  background: #f8f9fa;
}

.services-plugin .services-detail-documents {
  display: grid;
  gap: 8px;
}

.services-plugin .services-detail-document {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  text-decoration: none;
  color: #212529;
  background: #fafbfc;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.services-plugin .services-detail-document:hover {
  border-color: #2c5364;
  background: #f0f7fa;
  color: #212529;
}

.services-plugin .services-detail-document i {
  color: #2c5364;
}

.services-plugin .services-detail-packages {
  display: grid;
  gap: 12px;
}

.services-plugin .services-detail-package {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.services-plugin .services-detail-package.is-default {
  border-color: #2c5364;
  box-shadow: 0 4px 14px rgba(44, 83, 100, 0.08);
}

.services-plugin .services-detail-package__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.services-plugin .services-detail-package__name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.services-plugin .services-detail-package__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.services-plugin .services-detail-package__price {
  text-align: right;
  flex-shrink: 0;
}

.services-plugin .services-detail-package__price-current {
  display: block;
  font-weight: 700;
  color: #2c5364;
  white-space: nowrap;
}

.services-plugin .services-detail-package__price-old {
  display: block;
  font-size: 12px;
  color: #6c757d;
  text-decoration: line-through;
}

.services-plugin .services-detail-package__desc {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6c757d;
  line-height: 1.45;
}

.services-plugin .services-detail-package__extras {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid #eef1f4;
  padding-top: 10px;
}

.services-plugin .services-detail-package__extras li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 4px 0;
  color: #495057;
}

.services-plugin .services-detail-package__actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef1f4;
}

@media (max-width: 991px) {
  .services-plugin .services-detail-sidebar {
    position: static;
  }

  .services-plugin .services-detail-hero__layout {
    flex-direction: column;
  }

  .services-plugin .services-detail-hero__thumb {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: unset;
    aspect-ratio: 4 / 3;
    align-self: auto;
    border-right: 0;
    border-bottom: 1px solid #e9ecef;
  }

  .services-plugin .services-detail-hero__body {
    padding: 20px;
  }

  .services-plugin .services-detail-hero__aside {
    flex: 1 1 100%;
    max-width: none;
    padding: 0 20px 20px;
  }
}

@media (max-width: 575px) {
  .services-plugin .services-detail-gallery,
  .services-plugin .services-detail-gallery[data-count="many"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-plugin .services-visibility-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.services-plugin .services-visibility-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.services-plugin .services-visibility-card {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.services-plugin .services-visibility-option input:checked + .services-visibility-card {
  border-color: var(--bs-primary, #0d6efd);
  box-shadow: 0 0 0 1px var(--bs-primary, #0d6efd);
}

/* Booking wizard */
.services-plugin .services-booking-card {
  scroll-margin-top: 90px;
}

.services-plugin .services-booking-wizard__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.services-plugin .services-booking-wizard__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  color: #6c757d;
  text-align: left;
  transition: all 0.15s ease;
}

.services-plugin .services-booking-wizard__step:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.services-plugin .services-booking-wizard__step.is-active {
  border-color: #0d6efd;
  background: #f3f8ff;
  color: #0d6efd;
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.15);
}

.services-plugin .services-booking-wizard__step.is-done {
  border-color: #cfe2ff;
  color: #0d6efd;
}

.services-plugin .services-booking-wizard__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  background: #eef2f6;
  flex-shrink: 0;
}

.services-plugin .services-booking-wizard__step.is-active .services-booking-wizard__step-num,
.services-plugin .services-booking-wizard__step.is-done .services-booking-wizard__step-num {
  background: #0d6efd;
  color: #fff;
}

.services-plugin .services-booking-wizard__step-label {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.services-plugin .services-booking-wizard__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.services-plugin .services-booking-wizard__panel {
  display: none;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 14px;
  background: #fafbfc;
  min-height: 280px;
}

.services-plugin .services-booking-wizard__panel.is-active {
  display: block;
}

@media (min-width: 992px) {
  .services-plugin .services-booking-wizard__panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-plugin .services-booking-wizard__panel {
    display: block;
    opacity: 0.45;
    pointer-events: none;
  }

  .services-plugin .services-booking-wizard__panel.is-unlocked {
    opacity: 1;
    pointer-events: auto;
  }

  .services-plugin .services-booking-wizard__panel.is-active {
    border-color: #0d6efd;
    box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.12);
  }
}

.services-plugin .services-booking-wizard__summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.services-plugin .services-booking-wizard__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e9ecef;
}

.services-plugin .services-booking-widget {
  border: none;
  padding: 0;
  background: transparent;
}

/* Booking calendar */
.services-plugin .services-booking-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.services-plugin .services-booking-cal__title {
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  flex: 1;
}

.services-plugin .services-booking-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
}

.services-plugin .services-booking-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.services-plugin .services-booking-cal__day {
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #212529;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.services-plugin .services-booking-cal__day.is-empty {
  background: transparent;
}

.services-plugin .services-booking-cal__day.is-disabled {
  color: #ced4da;
  background: #f1f3f5;
  cursor: not-allowed;
}

.services-plugin .services-booking-cal__day.is-available:hover {
  background: #e7f1ff;
  color: #0d6efd;
}

.services-plugin .services-booking-cal__day.is-selected {
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

.services-plugin .services-booking-cal__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px;
  color: #6c757d;
  font-size: 13px;
}

.services-plugin .services-booking-slots__label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}

.services-plugin .services-booking-slots__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-plugin .services-booking-slot-chip {
  border: 1px solid #dee2e6;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  transition: all 0.15s ease;
}

.services-plugin .services-booking-slot-chip:hover {
  border-color: #0d6efd;
  color: #0d6efd;
}

.services-plugin .services-booking-slot-chip.is-selected {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

@media (max-width: 991.98px) {
  .services-plugin .services-booking-wizard__panels {
    grid-template-columns: 1fr;
  }

  .services-plugin .services-booking-wizard__panel {
    min-height: auto;
  }
}

/* Order detail */
.services-plugin .services-order-detail__hero {
  padding: 24px;
}

.services-plugin .services-order-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.services-plugin .services-order-detail__amount-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 16px;
  text-align: right;
}

.services-plugin .services-order-detail__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
}

.services-plugin .services-order-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-plugin .services-order-timeline__step {
  position: relative;
  flex: 1 1 120px;
  min-width: 110px;
  padding-top: 18px;
  text-align: center;
}

.services-plugin .services-order-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dee2e6;
  margin: 0 auto 8px;
}

.services-plugin .services-order-timeline__step.is-done .services-order-timeline__dot {
  background: #198754;
}

.services-plugin .services-order-timeline__step.is-current .services-order-timeline__dot {
  background: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.services-plugin .services-order-timeline__label {
  font-size: 12px;
  color: #6c757d;
}

.services-plugin .services-order-timeline__step.is-current .services-order-timeline__label {
  color: #0d6efd;
  font-weight: 600;
}

.services-plugin .services-order-card {
  background: #fff;
}

.services-plugin .services-resolution-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-plugin .services-resolution-message {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  background: #fff;
  max-width: 84%;
}

.services-plugin .services-resolution-message.is-system {
  background: #f8f9fa;
  border-style: dashed;
  margin-left: auto;
  margin-right: auto;
  max-width: 92%;
}

.services-plugin .services-resolution-message.is-own {
  margin-left: auto;
  background: #f3f8ff;
  border-color: #d9e9ff;
}

.services-plugin .services-resolution-message.is-other {
  margin-right: auto;
  background: #f9fafb;
}

.services-plugin .services-resolution-message.is-admin {
  background: #fff9ef;
  border-color: #ffe5b4;
}

.services-plugin .services-resolution-message__head {
  margin-bottom: 6px;
}

.services-plugin .services-resolution-message__text {
  word-break: break-word;
}

.services-plugin .services-resolution-message__text p:last-child {
  margin-bottom: 0;
}

.services-plugin .services-resolution-message__thumb {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  max-width: 160px;
}

.services-plugin .services-resolution-message__thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
}

.services-plugin .services-resolution-page .btn-danger,
.services-plugin .services-order-detail .btn-danger {
  color: #fff !important;
}

/* ── Explore page (garage-style discovery) ── */
.services-plugin {
  --sv-market-accent: #4338ca;
  --sv-market-accent-soft: rgba(67, 56, 202, 0.12);
  --sv-market-teal: #0f766e;
  --sv-market-teal-soft: rgba(15, 118, 110, 0.1);
  --sv-market-surface: #ffffff;
  --sv-market-surface-2: #f8fafc;
  --sv-market-border: #e2e8f0;
  --sv-market-text: #0f172a;
  --sv-market-muted: #64748b;
  --sv-market-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.services-plugin--browse {
  margin-top: 0 !important;
}

.services-browse-header {
  padding: 28px 0 8px;
  background: linear-gradient(180deg, #eef2ff 0%, transparent 100%);
}

.services-browse-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.services-browse-header__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sv-market-text);
}

.services-browse-header__subtitle {
  margin: 6px 0 0;
  color: var(--sv-market-muted);
  font-size: 15px;
}

.services-explore-page {
  display: grid;
  gap: 14px;
  padding-top: 0;
}

.services-panel {
  border: 1px solid var(--sv-market-border);
  border-radius: 18px;
  background: var(--sv-market-surface);
  box-shadow: var(--sv-market-shadow);
}

.services-explore-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr);
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(67, 56, 202, 0.1), rgba(15, 118, 110, 0.08)),
    var(--sv-market-surface);
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sv-market-accent-soft);
  color: var(--sv-market-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-explore-hero h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--sv-market-text);
}

.services-explore-hero p {
  margin: 0;
  color: var(--sv-market-muted);
  line-height: 1.65;
  max-width: 620px;
}

.services-explore-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.services-btn,
.services-plugin a.services-btn,
.services-plugin button.services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--sv-market-accent);
  background: var(--sv-market-accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.services-btn:hover {
  background: #3730a3;
  border-color: #3730a3;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(67, 56, 202, 0.18);
}

.services-btn-secondary {
  background: var(--sv-market-surface-2) !important;
  border-color: var(--sv-market-border) !important;
  color: var(--sv-market-text) !important;
  box-shadow: none !important;
}

.services-btn-secondary:hover {
  background: #fff !important;
  border-color: #c7d2fe !important;
  color: var(--sv-market-accent) !important;
  transform: none;
  box-shadow: none !important;
}

.services-btn-sm {
  padding: 8px 12px;
  font-size: 12px;
}

.services-explore-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.services-explore-stat {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--sv-market-border);
  background: var(--sv-market-surface-2);
  text-align: center;
}

.services-explore-stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--sv-market-text);
}

.services-explore-stat span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--sv-market-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services-explore-toolbar {
  padding: 16px;
}

.services-explore-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.services-explore-search__field {
  min-width: 160px;
}

.services-explore-search__field--grow {
  flex: 1 1 240px;
}

.services-explore-search__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-explore-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sv-market-muted);
}

.services-explore-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.services-category-browser {
  padding: 14px 16px 16px;
}

.services-category-browser__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

.services-category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.35;
}

.services-category-breadcrumb a {
  color: var(--sp-accent, #4338ca) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.services-category-breadcrumb a:hover {
  text-decoration: underline !important;
}

.services-category-breadcrumb__sep {
  color: var(--sp-text-dim, var(--sv-market-muted));
  opacity: 0.7;
}

.services-category-breadcrumb__current {
  color: var(--sp-text, var(--sv-market-text));
  font-weight: 700;
}

.services-dash-section + .services-dash-section {
  margin-top: 4px;
}

.services-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.services-section-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sv-market-text);
}

.services-section-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--sv-market-muted);
}

.services-section-head--compact {
  margin-bottom: 10px;
}

.services-section-head--compact h3 {
  font-size: 1.05rem;
}

.services-section-head--compact p {
  margin-top: 2px;
}

.services-explore-toolbar {
  padding: 14px 16px;
}

.services-explore-toolbar-inline {
  margin-bottom: 4px;
}

/* Top category bar with hover flyout */
.services-catbar {
  position: relative;
  z-index: 20;
  margin-bottom: 12px;
}

.services-catbar__scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.services-catbar__group {
  position: relative;
  flex: 0 0 auto;
}

.services-catbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  background: var(--sp-surface, #fff);
  color: var(--sp-text, var(--sv-market-text)) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.services-catbar__item em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

.services-catbar__caret {
  font-size: 10px;
  opacity: 0.65;
  transition: transform 0.15s ease;
}

.services-catbar__item:hover,
.services-catbar__group.is-open > .services-catbar__item,
.services-catbar__item.is-active {
  border-color: var(--sp-accent, #4338ca);
  background: rgba(67, 56, 202, 0.1);
  color: var(--sp-accent, #4338ca) !important;
}

.services-catbar__item.is-active em,
.services-catbar__group.is-open > .services-catbar__item em {
  color: var(--sp-accent, #4338ca);
}

.services-catbar__flyout {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  max-width: min(320px, 80vw);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  background: var(--sp-surface, #fff);
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 30;
}

.services-catbar__group:hover > .services-catbar__flyout,
.services-catbar__group.is-open > .services-catbar__flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.services-catbar__group:hover > .services-catbar__item .services-catbar__caret,
.services-catbar__group.is-open > .services-catbar__item .services-catbar__caret {
  transform: rotate(180deg);
}

.services-catbar__flyout-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--sp-text, var(--sv-market-text)) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}

.services-catbar__flyout-link:hover,
.services-catbar__flyout-link.is-active {
  background: rgba(67, 56, 202, 0.1);
  color: var(--sp-accent, #4338ca) !important;
}

.services-catbar__flyout-link em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

@media (hover: none) {
  .services-catbar__group:hover > .services-catbar__flyout {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .services-catbar__group.is-open > .services-catbar__flyout {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.services-explore-search--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.services-explore-search__input-wrap {
  position: relative;
}

.services-explore-search__input-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sp-text-dim, #94a3b8);
  pointer-events: none;
}

.services-explore-search__input-wrap .form-control {
  padding-left: 36px;
}

.services-category-breadcrumb--slim {
  margin: 2px 0 10px;
  padding: 0;
}

.services-side-cat > a {
  gap: 8px;
}

.services-side-cat-wrap {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}

.services-side-cat-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  border-left: 2px solid var(--sp-line, rgba(67, 56, 202, 0.15));
  margin-left: 18px;
}

.services-side-cat-list > .services-side-cat > a {
  margin-left: 0;
  padding-left: 10px !important;
  font-size: 13px;
}

.services-side-cat__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.services-side-cat__count {
  margin-left: auto;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--sp-surface-2, #f8fafc);
  color: var(--sp-text-dim, #64748b);
  font-variant-numeric: tabular-nums;
}

.services-side-cat > a.is-active-branch,
.services-side-nav li.active > a {
  background: rgba(67, 56, 202, 0.12);
}

.services-side-cat__children {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 12px;
}

.services-side-cat__children li a {
  margin: 0 0 4px;
  padding: 7px 10px !important;
  border-radius: 8px;
  font-size: 12px;
}

.services-side-cat__children .services-side-cat__count {
  background: rgba(67, 56, 202, 0.08);
}

.services-dashboard-grid .services-dashboard-card {
  height: 100%;
}

.services-dashboard-card .services-service-card__media {
  position: relative;
}

.services-dashboard-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
}

.services-dashboard-card__title {
  display: block;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sv-market-text);
}

.services-dashboard-card__note {
  margin-top: 6px !important;
}

.services-dashboard-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--sv-market-muted);
}

.services-dashboard-card__metrics i {
  margin-right: 4px;
  opacity: 0.75;
}

.services-dashboard-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sv-market-border);
}

.services-dashboard-card .services-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.services-explore-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-explore-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--sv-market-border);
  background: var(--sv-market-surface);
  color: var(--sv-market-text) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}

.services-explore-chip:hover {
  border-color: #c7d2fe;
  background: #fff;
  transform: translateY(-1px);
}

.services-explore-chip.is-active {
  border-color: #c7d2fe;
  background: var(--sv-market-accent-soft);
  color: var(--sv-market-accent) !important;
}

.services-explore-chip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--sv-market-muted);
}

.services-explore-chip.is-active em {
  color: var(--sv-market-accent);
}

.services-explore-chip--sub {
  font-size: 12px;
  padding: 8px 12px;
}

.services-explore-grid {
  margin-top: 4px;
}

.services-service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sv-market-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--sv-market-surface);
  box-shadow: var(--sv-market-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.services-service-card:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.services-service-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  text-decoration: none !important;
}

.services-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.services-service-card:hover .services-service-card__media img {
  transform: scale(1.04);
}

.services-service-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-size: 2rem;
}

.services-service-card__price {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 96px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-service-card__mode {
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: 42%;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-service-card__mode--sub {
  background: rgba(67, 56, 202, 0.92);
}

.services-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1;
  min-width: 0;
}

.services-service-card__publisher {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--sv-market-muted);
}

.services-service-card__publisher a,
.services-service-card__publisher span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: var(--sv-market-muted) !important;
  text-decoration: none !important;
  overflow: hidden;
}

.services-service-card__publisher a:hover {
  color: var(--sv-market-accent) !important;
}

.services-service-card__publisher i {
  flex-shrink: 0;
  opacity: 0.75;
}

.services-service-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sv-market-teal);
}

.services-service-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--sv-market-text) !important;
  text-decoration: none !important;
  word-break: break-word;
}

.services-service-card__title:hover {
  color: var(--sv-market-accent) !important;
}

.services-service-card__excerpt {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--sv-market-muted);
}

.services-service-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 12px;
  color: var(--sv-market-muted);
}

.services-service-card__meta span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
}

.services-service-card__meta-cat {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.services-service-card__meta i {
  margin-right: 4px;
  color: #94a3b8;
  flex-shrink: 0;
}

.services-explore-empty {
  padding: 36px 24px;
  text-align: center;
}

.services-explore-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sv-market-accent-soft);
  color: var(--sv-market-accent);
  font-size: 22px;
}

.services-explore-empty h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sv-market-text);
}

.services-explore-empty p {
  margin: 0 0 16px;
  color: var(--sv-market-muted);
}

@media (max-width: 991px) {
  .services-explore-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .services-browse-header {
    padding-top: 18px;
  }

  .services-explore-search__field,
  .services-explore-search__field--grow {
    width: 100%;
    flex: 1 1 100%;
  }

  .services-explore-context {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================================
   Services Plugin Shell (garage-style)
   =================================== */

.services-plugin {
  --sp-ink: #0f172a;
  --sp-surface: #ffffff;
  --sp-surface-2: #f8fafc;
  --sp-surface-3: #eef2ff;
  --sp-text: #0f172a;
  --sp-text-dim: #64748b;
  --sp-accent: #4338ca;
  --sp-accent-bright: #6366f1;
  --sp-teal: #0f766e;
  --sp-line: rgba(15, 23, 42, 0.09);
  --sp-line-strong: rgba(15, 23, 42, 0.16);
  --sp-radius: 16px;
  --sp-radius-sm: 10px;
  --sp-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sv-market-accent: var(--sp-accent);
  --sv-market-accent-soft: rgba(67, 56, 202, 0.12);
  --sv-market-teal: var(--sp-teal);
  --sv-market-surface: var(--sp-surface);
  --sv-market-surface-2: var(--sp-surface-2);
  --sv-market-border: #e2e8f0;
  --sv-market-text: var(--sp-text);
  --sv-market-muted: var(--sp-text-dim);
  --sv-market-shadow: var(--sp-shadow);
}

body.night-mode .services-plugin {
  --sp-surface: #1c2025;
  --sp-surface-2: #242a30;
  --sp-surface-3: #2c333a;
  --sp-text: #edeae2;
  --sp-text-dim: #9da19b;
  --sp-line: rgba(237, 234, 226, 0.09);
  --sp-line-strong: rgba(237, 234, 226, 0.18);
  --sp-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.45);
  --sv-market-border: rgba(237, 234, 226, 0.12);
  --sv-market-surface: var(--sp-surface);
  --sv-market-surface-2: var(--sp-surface-2);
  --sv-market-text: var(--sp-text);
  --sv-market-muted: var(--sp-text-dim);
}

.services-plugin .display {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.services-shell {
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  position: relative;
}

.services-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(67, 56, 202, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(15, 118, 110, 0.08), transparent 50%);
}

.services-app-content {
  position: relative;
  z-index: 1;
  padding: 16px 20px 24px;
  color: var(--sp-text);
}

.services-app-content > .services-explore-page {
  padding-top: 0;
}

@media (max-width: 767px) {
  .services-app-content {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

.services-side-nav-card {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-line);
  box-shadow: var(--sp-shadow);
  overflow: hidden;
  background: var(--sp-surface);
}

.services-side-nav-card .card-body {
  padding: 18px 14px;
}

.services-side-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sp-text);
}

.services-side-brand-link:hover {
  text-decoration: none;
  color: var(--sp-text);
}

.services-side-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sp-accent-bright), var(--sp-teal));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.services-side-brand-text {
  font-size: 18px;
  line-height: 1;
}

.services-side-nav li {
  margin-bottom: 4px;
}

.services-side-nav li a {
  margin: 0 6px;
  padding: 9px 12px !important;
  border-radius: 10px;
  transition: background 0.18s var(--sp-ease), color 0.18s var(--sp-ease);
  display: flex;
  align-items: center;
}

.services-side-nav li.active > a {
  background: rgba(67, 56, 202, 0.12);
}

.services-side-nav li a:hover {
  background: rgba(67, 56, 202, 0.08);
  text-decoration: none;
}

.services-side-service-meta {
  list-style: none;
}

.services-side-service-box {
  margin: 0 12px 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sp-surface-2);
  border: 1px solid var(--sp-line);
}

.services-side-service-box strong {
  display: block;
  font-size: 13px;
  color: var(--sp-text);
}

.services-side-service-box span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--sp-text-dim);
}

.services-status-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--sp-surface-2);
  border: 1px solid var(--sp-line);
}

.services-status-title {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--sp-text);
}

.services-status-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--sp-text-dim);
}

.services-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--sp-line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-radius: var(--sp-radius) var(--sp-radius) 0 0;
}

body.night-mode .services-topbar {
  background: rgba(28, 32, 37, 0.82);
}

.services-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.services-sidebar-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--sp-line);
  background: var(--sp-surface-2);
  color: var(--sp-text);
}

.services-topbar-title {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.1;
  color: var(--sp-text);
}

.services-topbar-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: var(--sp-text-dim);
}

.services-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-services-primary {
  background: linear-gradient(135deg, var(--sp-accent-bright), var(--sp-accent));
  border: 0;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px -6px rgba(67, 56, 202, 0.45);
  transition: transform 0.18s var(--sp-ease), box-shadow 0.18s var(--sp-ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-services-primary:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 10px 22px -6px rgba(67, 56, 202, 0.55);
}

.btn-services-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 18px -6px rgba(217, 119, 6, 0.45);
}

.btn-services-warning:hover {
  box-shadow: 0 10px 22px -6px rgba(217, 119, 6, 0.55);
}

.services-sidebar-backdrop {
  display: none;
}

body.services-sidebar-lock {
  overflow: hidden;
}

@media (max-width: 767px) {
  .services-plugin {
    overflow: visible;
  }

  .services-plugin .services-main-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .services-plugin .services-sidebar-col {
    position: fixed !important;
    top: 70px;
    left: 0;
    bottom: 0;
    width: min(86vw, 300px);
    max-width: 300px;
    margin: 0;
    padding: 12px 10px calc(80px + env(safe-area-inset-bottom));
    background: var(--sp-surface, #fff);
    z-index: 1200;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    border-right: 1px solid var(--sp-line-strong);
  }

  .services-plugin .services-sidebar-col .services-side-nav-card {
    box-shadow: none;
    border: none;
    border-radius: 0;
  }

  body.n_activated .services-plugin .services-sidebar-col,
  body.n_live .services-plugin .services-sidebar-col {
    top: 120px;
  }

  .services-plugin.sidebar-open .services-sidebar-col {
    transform: translateX(0);
  }

  .services-sidebar-backdrop {
    display: block;
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1190;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body.n_activated .services-sidebar-backdrop,
  body.n_live .services-sidebar-backdrop {
    top: 120px;
  }

  .services-plugin.sidebar-open .services-sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (min-width: 768px) {
  .services-sidebar-toggle,
  .services-sidebar-close,
  .services-sidebar-backdrop {
    display: none !important;
  }
}

body.night-mode .services-plugin .services-app-content .card {
  background: var(--sp-surface);
  border-color: var(--sp-line);
  color: var(--sp-text);
}

body.night-mode .services-plugin .services-app-content .text-muted {
  color: var(--sp-text-dim) !important;
}

/* Incoming orders — account scope filter */
.services-orders-toolbar {
  padding: 16px 18px;
}

.services-orders-filter__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.services-orders-filter__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

.services-orders-filter__hint {
  font-size: 12px;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

.services-orders-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-orders-scope__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  background: var(--sp-surface-2, var(--sv-market-surface-2));
  color: var(--sp-text, var(--sv-market-text)) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.services-orders-scope__chip i {
  font-size: 12px;
  opacity: 0.75;
}

.services-orders-scope__chip:hover {
  border-color: rgba(67, 56, 202, 0.35);
  background: #fff;
  color: var(--sp-accent, #4338ca) !important;
}

.services-orders-scope__chip.is-active {
  border-color: var(--sp-accent, #4338ca);
  background: rgba(67, 56, 202, 0.1);
  color: var(--sp-accent, #4338ca) !important;
  box-shadow: 0 0 0 1px rgba(67, 56, 202, 0.12);
}

.services-orders-scope__chip.is-active i {
  opacity: 1;
}

.services-orders-table-wrap {
  overflow: hidden;
}

.services-orders-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sp-text-dim, var(--sv-market-muted));
  white-space: nowrap;
}

.services-orders-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

@media (max-width: 575px) {
  .services-orders-scope__chip span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Provider settings */
.services-settings-page {
  display: grid;
  gap: 14px;
}

.services-settings-public-url {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--sp-line, var(--sv-market-border));
  font-size: 12px;
}

.services-settings-public-url span {
  color: var(--sp-text-dim, var(--sv-market-muted));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.services-settings-public-url a {
  color: var(--sp-accent, #4338ca) !important;
  word-break: break-all;
  text-decoration: none !important;
}

.services-settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  border-radius: 14px;
  background: var(--sp-surface-2, var(--sv-market-surface-2));
}

.services-settings-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--sp-text-dim, var(--sv-market-muted));
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.services-settings-tab i {
  font-size: 12px;
  opacity: 0.8;
}

.services-settings-tab:hover {
  color: var(--sp-text, var(--sv-market-text));
  background: rgba(255, 255, 255, 0.7);
}

.services-settings-tab.is-active {
  background: #fff;
  color: var(--sp-accent, #4338ca);
  box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.35);
}

body.night-mode .services-settings-tab.is-active {
  background: var(--sp-surface);
}

.services-settings-panel {
  display: none;
  padding: 18px;
}

.services-settings-panel.is-active {
  display: block;
}

.services-settings-panel__head {
  margin-bottom: 16px;
}

.services-settings-panel__head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sp-text, var(--sv-market-text));
}

.services-settings-panel__head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--sp-text-dim, var(--sv-market-muted));
  line-height: 1.55;
  max-width: 720px;
}

.services-settings-list {
  display: grid;
  gap: 10px;
}

.services-settings-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  border-radius: 12px;
  background: var(--sp-surface-2, var(--sv-market-surface-2));
}

.services-settings-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(67, 56, 202, 0.1);
  color: var(--sp-accent, #4338ca);
  flex-shrink: 0;
}

.services-settings-item__body {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.services-settings-item__body strong {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sp-text, var(--sv-market-text));
}

.services-settings-item__body span {
  display: block;
  font-size: 12px;
  color: var(--sp-text-dim, var(--sv-market-muted));
  line-height: 1.45;
}

.services-settings-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.12);
  color: var(--sp-accent, #4338ca);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.services-settings-item__action {
  margin: 0;
  flex-shrink: 0;
}

.services-settings-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px 16px;
  border: 1px dashed var(--sp-line, var(--sv-market-border));
  border-radius: 12px;
  color: var(--sp-text-dim, var(--sv-market-muted));
  text-align: center;
}

.services-settings-empty i {
  font-size: 22px;
  opacity: 0.55;
}

.services-settings-empty p {
  margin: 0;
  font-size: 13px;
}

.services-settings-form-card {
  padding: 16px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  border-radius: 12px;
  background: var(--sp-surface, #fff);
}

.services-settings-form-card h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--sp-text, var(--sv-market-text));
}

.services-settings-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-settings-choice__option {
  margin: 0;
  cursor: pointer;
}

.services-settings-choice__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.services-settings-choice__option span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  background: var(--sp-surface-2, var(--sv-market-surface-2));
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-text, var(--sv-market-text));
}

.services-settings-choice__option input:checked + span {
  border-color: var(--sp-accent, #4338ca);
  background: rgba(67, 56, 202, 0.1);
  color: var(--sp-accent, #4338ca);
}

.services-settings-note {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--sp-line, var(--sv-market-border));
  background: var(--sp-surface-2, var(--sv-market-surface-2));
  font-size: 13px;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

.services-settings-accordion {
  display: grid;
  gap: 10px;
}

.services-settings-acc-item {
  border: 1px solid var(--sp-line, var(--sv-market-border));
  border-radius: 12px;
  background: var(--sp-surface, #fff);
  overflow: hidden;
}

.services-settings-acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.services-settings-acc-item summary::-webkit-details-marker {
  display: none;
}

.services-settings-acc-item summary strong {
  display: block;
  font-size: 14px;
  color: var(--sp-text, var(--sv-market-text));
}

.services-settings-acc-item summary small {
  display: block;
  margin-top: 2px;
  color: var(--sp-text-dim, var(--sv-market-muted));
}

.services-settings-acc-item summary > i {
  color: var(--sp-text-dim, var(--sv-market-muted));
  transition: transform 0.15s ease;
}

.services-settings-acc-item[open] summary > i {
  transform: rotate(180deg);
}

.services-settings-acc-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--sp-line, var(--sv-market-border));
}

@media (max-width: 767px) {
  .services-settings-tab span {
    display: none;
  }

  .services-settings-tab {
    flex: 1 1 0;
    justify-content: center;
    min-height: 42px;
  }
}

/* Profile sidebar services card */
.services-sidebar-card .card-header {
  padding-bottom: 0;
}
.services-sidebar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 164, 130, 0.12);
  color: #2da482;
  flex-shrink: 0;
}
.services-sidebar-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.services-sidebar-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #8898aa;
  flex-shrink: 0;
}
.services-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services-sidebar-thumb-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef1f6, #e4e8f0);
  color: #8898aa;
  font-size: 1rem;
}
.services-sidebar-thumb-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2da482;
  background: rgba(45, 164, 130, 0.1);
}
body.night-mode .services-sidebar-thumb {
  background: rgba(255, 255, 255, 0.06);
}
body.night-mode .services-sidebar-thumb-fallback {
  background: rgba(255, 255, 255, 0.08);
  color: #adb5bd;
}
body.night-mode .services-sidebar-icon {
  background: rgba(45, 164, 130, 0.2);
}
