/* Hizmet detay carousel / hızlı işlem çakışma fix */
.oys-service-detail-page {
  overflow-x: hidden;
}

.oys-service-detail-page .container {
  max-width: 1320px;
}

/* Eski 2 kolon grid yapısı sliderı bozuyordu: tek kolon */
.oys-detail-grid {
  display: block !important;
}

.oys-detail-main {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.oys-detail-side,
.sticky-card,
.oys-service-side-btn {
  display: none !important;
}

/* Hızlı işlem artık sağda değil, üstte yatay bar */
.oys-service-action-bar {
  background: #ffffff;
  border: 1px solid #e1eaf5;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.oys-service-action {
  min-height: 48px;
  border-radius: 16px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid transparent;
  white-space: nowrap;
}

.oys-service-action.danger {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
}

.oys-service-action.warning {
  background: #ff8a00;
  color: #061a3a;
  border-color: #ff8a00;
}

.oys-service-action.outline {
  background: #ffffff;
  color: #0d47a1;
  border-color: #cfe0f4;
}

/* Carousel taşmasın */
.detail-card,
.detail-carousel,
.detail-slider {
  max-width: 100% !important;
  min-width: 0 !important;
}

.detail-carousel {
  overflow: hidden !important;
}

.detail-slider {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.profile-card-slide {
  flex: 0 0 320px !important;
  width: 320px !important;
  max-width: 320px !important;
  min-width: 320px !important;
}

.profile-card-slide .profile-card {
  max-width: 100% !important;
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 1100px) {
  .oys-service-action-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .oys-service-action-bar {
    grid-template-columns: 1fr;
  }

  .profile-card-slide {
    flex-basis: 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
  }
}
