.image-zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-zoom-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-zoom-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.image-zoom-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  max-width: 90%;
  max-height: 90vh;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-zoom-modal.active .image-zoom-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.image-zoom-modal-content img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

.image-zoom-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: #dc3545;
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.search-section .form-label {
  font-size: 12px !important;
}

.image-zoom-close-btn:hover {
  background-color: #bb2d3b;
  transform: scale(1.1);
}

.main-content {
  background-color: #f4f4f4;
}

/* Modal Düzeltmeleri */
.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}

/* Modal Kapatma Düğmesi */
.modal .btn-close:focus {
  box-shadow: none;
  opacity: 1;
}

/* Tab Düzeltmeleri */
.nav-tabs .nav-link {
  cursor: pointer;
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .tab-pane.active.show {
  display: block;
}

/* Modal Gövde Yüksekliği */
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Modal backdrop için z-index düzeltmesi */
.modal-backdrop {
  z-index: 1040;
}

.modal {
  z-index: 1050;
}

/* Navbar ve modal çakışmalarını önlemek için */
.fixed-top {
  z-index: 1030;
}

/* Part Detail Modal Yeni Stiller */
.modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background-color: #fff;
  align-items: center;
}

.modal-title {
  font-weight: 600;
  color: #333;
}

.part-image-gallery .main-image {
  border-radius: 8px;
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.image-thumbnails {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 5px;
}

.thumbnail-item {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  border: 2px solid transparent;
}

.thumbnail-item.active {
  border-color: var(--bs-primary);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.part-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.ref-number {
  font-size: 0.9rem;
}

.euro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffeeba;
  color: #6c5a00;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.spec-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 12px 15px;
}

.spec-header {
  display: flex;
  align-items: center;
}

.spec-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

.spec-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 2px;
}

.spec-value {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Yeni Tab Stilleri */
.custom-tabs .nav-pills {
  gap: 12px;
}

.custom-tabs .nav-pills .nav-link {
  border-radius: 8px;
  padding: 12px 10px;
  font-weight: 500;
  color: #6c757d;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.custom-tabs .nav-pills .nav-link .tab-icon-wrapper {
  margin-bottom: 8px;
  font-size: 1.25rem;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--bs-primary);
  border-radius: 50%;
  transition: all 0.3s;
}

.custom-tabs .nav-pills .nav-link:hover {
  background-color: #e9ecef;
  color: var(--bs-primary);
  transform: translateY(-3px);
}

.custom-tabs .nav-pills .nav-link.active {
  background-color: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.25);
  transform: translateY(-3px);
}

.custom-tabs .nav-pills .nav-link.active .tab-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.custom-tabs .tab-content {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-tabs .tab-pane {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Tablo Stilleri */
.custom-table {
  border-radius: 8px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.custom-table thead th {
  font-weight: 600;
  padding: 12px;
  vertical-align: middle;
  border-bottom-width: 1px;
}

.custom-table tbody td {
  padding: 12px;
  vertical-align: middle;
}

.custom-table .badge {
  font-weight: 500;
}

/* Kapat Buton Stili */
.btn-close-modal {
  background-color: #f8f9fa;
  color: #6c757d;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-close-modal:hover {
  background-color: #e9ecef;
  color: #dc3545;
  transform: scale(1.05);
}

.modal-footer {
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

/* Alternative Parts Cards */
.alt-part-card {
  padding: 16px;
  border-radius: 10px;
  background-color: #fff;
  transition: all 0.25s ease;
  border: 1px solid #efefef;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.alt-part-card:hover {
  background-color: #fcfcfc;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.alt-part-img {
  flex-shrink: 0;
  width: 100px;
}

.image-zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.image-zoom-container img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.image-zoom-overlay i {
  color: white;
  font-size: 1.5rem;
}

.image-zoom-container:hover img {
  transform: scale(1.15);
}

.image-zoom-container:hover .image-zoom-overlay {
  opacity: 1;
}

.alt-part-info h6 {
  font-weight: 600;
  color: #333;
}

.spec-badge {
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: #555;
  display: flex;
  align-items: center;
}

.spec-badge i {
  color: var(--bs-primary);
  width: 16px;
}

.alt-part-specs {
  margin-top: 8px;
}

/* Teknik Özellikler Tab Tasarımı */
.specs-table-wrapper .table th {
  font-weight: 600;
  color: #495057;
  width: 40%;
  font-size: 0.8rem;
}

.specs-table-wrapper .table td {
  font-weight: 500;
  font-size: 0.8rem;
}

/* Arama İşlemleri CSS */
.quick-search input.is-loading {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z'%3E%3CanimateTransform attributeName='transform' attributeType='XML' type='rotate' from='0 12 12' to='360 12 12' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

/* Search-section stilleri */
.search-section {
  padding: 0.35rem !important;
  border: none !important;
}
.search-section .section-title {
  margin-bottom: 1rem !important;
}
.section-title {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

/* Search Form Stilleri */
.search-sidebar {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0;
  padding: 15px;
  width: 100%;
}

/* Search Form Grid Düzeni */
.search-form {
  display: flex;
  flex-direction: column;
}

/* Form Row - Yan Yana Formlar İçin */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row:last-child {
  margin-bottom: 0;
}

/* Form Group Stilleri */
.form-group {
  margin-bottom: 0 !important;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

/* Form Elemanları */
.form-select,
.form-control {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 14px;
  height: 34px;
  background-color: #fff;
}

/* Quick Search */

.quick-search .input-group {
  border: 1px solid #ccc;
  border-radius: 0;
}

.quick-search input {
  border: none;
  box-shadow: none;
  font-size: 14px;
  height: 34px;
}

/* Ana Grid Düzeni */
.main-content .container .row {
  display: grid;
  grid-template-columns: 400px 1fr; /* Genişlik artırıldı */
  gap: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
  .main-content .container .row {
    grid-template-columns: 350px 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row.three-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .main-content .container .row {
    grid-template-columns: 1fr;
  }
}

/* Yakıt tipi butonları */
.fuel-type-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fuel-type-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  min-width: 70px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fuel-type-option label:hover {
  background-color: #f9f9f9;
}

.fuel-type-option input:checked + label {
  background-color: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
}

.fuel-type-option input:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}

.border {
  width: 100% !important;
  height: 100% !important;
}

/* Arama butonları */
.part-actions {
  text-align: center;
}

.part-actions .btn-primary {
  min-width: 150px;
}

/* Custom Select Fix */
.custom-select {
  display: none !important;
}

/* Normal select kullanmak için gerekli stil düzeltmeleri */
.form-select {
  display: block !important;
  /* Form select'leri her zaman göster */
  padding: 10px 14px;
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid #ced4da;
  color: #212529;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  appearance: auto;
  /* Native browser dropdown'ı göster */
}

/* Select focus stilini iyileştir */
.form-select:focus {
  border-color: var(--bs-primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Disabled select stilini düzelt */
.form-select:disabled {
  background-color: #e9ecef;
  opacity: 0.8;
}

/* Part Basic Info - Centered */
.part-basic-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.part-basic-info .ref-number {
  font-size: 0.85rem;
}

/* Spec Card Yazı Boyutları */
.spec-header .fw-medium {
  font-size: 0.95rem;
}

.spec-header i {
  font-size: 0.9rem;
}

.spec-label {
  font-size: 0.7rem;
  margin-bottom: 1px;
}

.spec-value {
  font-weight: 500;
  font-size: 0.85rem;
}

/* Tab Başlıkları */
.custom-tabs .nav-pills .nav-link {
  font-size: 0.9rem;
}

.custom-tabs .nav-pills .nav-link .tab-icon-wrapper {
  font-size: 1rem;
  height: 36px;
  width: 36px;
}

/* Tablo Yazı Boyutları */
.custom-table thead th {
  font-size: 0.85rem;
}

.custom-table tbody td {
  font-size: 0.85rem;
}

.badge {
  font-size: 0.75rem !important;
}

.euro-badge {
  font-size: 0.75rem;
  padding: 3px 7px;
}

/* Alternatif Parçalar */
.alt-part-specs p.small {
  font-size: 0.8rem !important;
}

.spec-badge {
  font-size: 0.75rem;
  padding: 4px 8px;
}

.spec-badge i {
  font-size: 0.75rem;
}

/* Modal Başlık */
.modal-title {
  font-size: 1.2rem;
}

/* Modal Footer */
.btn-close-modal {
  font-size: 0.85rem;
  padding: 8px 16px;
}

/* Modal Dışı Küçük Yazılar */
.pagination-info,
.text-muted.small {
  font-size: 0.85rem !important;
}

.page-link {
  font-size: 0.9rem;
}

.result-item h6 {
  font-size: 1rem;
}

.results-info h5 {
  font-size: 1.1rem;
}

.section-title {
  font-size: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Font Boyutları Genel Düzenleme */
body {
  font-size: 1.05rem;
  /* Temel font boyutu arttırıldı */
}

/* Ana Başlık Boyutları */
.page-title {
  font-size: 1.85rem;
}

.page-subtitle {
  font-size: 1.2rem;
}

/* Modal Başlık ve İçerik Fontları */
.modal-title {
  font-size: 1.4rem;
}

.part-basic-info h4 {
  font-size: 1.45rem;
}

.part-basic-info .ref-number {
  font-size: 1rem;
}

/* Badge ve Etiketler */
.badge {
  font-size: 0.9rem !important;
}

.euro-badge {
  font-size: 0.9rem;
  padding: 5px 10px;
}

/* Spec Card Yazı Boyutları */
.spec-header .fw-medium {
  font-size: 1.15rem;
}

.spec-header i {
  font-size: 1.1rem;
}

.spec-label {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.spec-value {
  font-weight: 500;
  font-size: 1.05rem;
}

/* Tab Başlıkları */
.custom-tabs .nav-pills .nav-link {
  font-size: 1.1rem;
}

.custom-tabs .nav-pills .nav-link .tab-icon-wrapper {
  font-size: 1.2rem;
  height: 46px;
  width: 46px;
}

/* Tablo Yazı Boyutları */
.custom-table thead th {
  font-size: 1rem;
  padding: 14px;
}

.custom-table tbody td {
  font-size: 1rem;
  padding: 14px;
}

/* Teknik Özellikler Tablosu */
.specs-table-wrapper .table th {
  font-size: 1rem;
}

.specs-table-wrapper .table td {
  font-size: 1rem;
}

/* Alternatif Parçalar */
.alt-part-specs p.small {
  font-size: 0.95rem !important;
}

.spec-badge {
  font-size: 0.9rem;
  padding: 6px 12px;
}

.spec-badge i {
  font-size: 0.9rem;
}

/* Modal Footer */
.btn-close-modal {
  font-size: 1rem;
  padding: 10px 20px;
}

/* Modal Dışı Küçük Yazılar */
.pagination-info,
.text-muted.small {
  font-size: 1rem !important;
}

.text-muted {
  font-size: 1rem;
}

.small {
  font-size: 0.95rem !important;
}

.page-link {
  font-size: 1.05rem;
}

.result-item h6 {
  font-size: 1.15rem;
}

.results-info h5 {
  font-size: 1.25rem;
}

.section-title {
  font-size: 1.4rem;
}

.form-group label {
  font-size: 1rem;
}

/* Form elemanları */
.form-select,
.form-control {
  font-size: 1.1rem;
}

.btn {
  font-size: 1.05rem;
}

/* Mobil Responsive Düzenlemeler - Alternatif Parçalar için */
@media (max-width: 767.98px) {
  /* Alternatif parçalar tablosu mobil düzenlemesi */
  .alternatives-grid .table {
    border: none;
  }

  .alternatives-grid thead {
    display: none;
    /* Mobilde başlıkları gizle */
  }

  .alternatives-grid tbody tr {
    display: block;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 1rem;
  }

  .alternatives-grid tbody td {
    display: block;
    border: none;
    padding: 0.5rem 0;
    text-align: left !important;
  }

  .alternatives-grid tbody td:before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
  }

  /* İlk sütundaki resim için özel düzenleme */
  .alternatives-grid td:first-child {
    text-align: center !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.5rem;
  }

  .alternatives-grid td:first-child:before {
    display: none;
  }

  .alternatives-grid .image-zoom-container {
    display: inline-block;
    margin: 0 auto;
  }

  /* Son sütun (Stok Durumu) düzenlemesi */
  .alternatives-grid td:last-child {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.5rem;
  }

  /* Diğer düzenlemeler */
  .alt-part-specs {
    padding-left: 0;
  }

  .spec-badge {
    margin-bottom: 0.5rem;
  }

  /* Modal içinde genel düzenlemeler */
  .modal-body {
    padding: 1rem;
  }

  .tab-content {
    padding: 1rem !important;
  }

  .custom-tabs .nav-pills {
    gap: 8px;
  }

  .custom-tabs .nav-pills .nav-link {
    padding: 8px 5px;
  }
}
/* Modal stilleri */
.modal-xl {
  max-width: 1140px;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.part-detail-modal .modal-title {
  font-size: 1.4rem;
  font-weight: 600;
}

.part-title {
  font-size: 1.85rem;
  font-weight: 700;
}

.part-code {
  font-size: 1.15rem;
  color: #666;
}

/* Sekme stilleri */
.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
  border: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  font-size: 1.05rem;
  color: #495057;
  position: relative;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: #0d6efd;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: transparent;
  font-weight: 600;
  border-color: transparent;
}

.nav-tabs .nav-link.active:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0d6efd;
  border-radius: 3px 3px 0 0;
}

/* Teknik özellikler stilleri */
.spec-section {
  margin-bottom: 1.5rem;
}

.spec-heading {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.spec-label {
  font-weight: 500;
  color: #555;
  padding-right: 1rem;
}

.spec-value {
  color: #333;
}

/* Resim stilleri */
.main-image-container {
  position: relative;
  margin-bottom: 1rem;
  text-align: center;
}

.main-image {
  max-height: 300px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-zoom-container {
  position: relative;
  cursor: pointer;
}

.image-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.image-zoom-overlay i {
  color: white;
  font-size: 1.5rem;
}

.image-zoom-container:hover .image-zoom-overlay {
  opacity: 1;
}

.thumbnail-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Tablo stilleri */
.table {
  font-size: 1rem;
}

.table th {
  font-weight: 600;
  background-color: #f8f9fa;
  vertical-align: middle;
}

.table td {
  vertical-align: middle;
  padding: 0.75rem;
}

/* Alternatif parçalar stilleri */
.alt-parts-table th {
  font-weight: 600;
  background-color: #f8f9fa;
}

.alt-parts-table td {
  vertical-align: middle;
  padding: 0.85rem 0.75rem;
}

.alt-part-specs {
  max-width: 100%;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 30px;
  background-color: #f0f0f0;
  color: #333;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.euro-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #e6f7ff;
  color: #0d6efd;
  border-radius: 30px;
  border: 1px solid #b3e0ff;
}

/* Mobil görünüm için alternatif parçalar tablosu */
@media (max-width: 767.98px) {
  .alt-parts-table,
  .alt-parts-table tbody,
  .alt-parts-table tr {
    display: block;
    width: 100%;
  }

  .alt-parts-table thead {
    display: none;
  }

  .alt-parts-table tr {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    border: 1px solid #dee2e6;
  }

  .alt-parts-table td {
    display: block;
    text-align: left;
    padding: 0.5rem;
    border: none;
    position: relative;
  }

  .alt-parts-table td:before {
    content: attr(data-label);
    position: relative;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #555;
  }

  .alt-parts-table td:first-child {
    text-align: center;
  }

  .alt-parts-table td:last-child {
    text-align: center;
  }

  .alt-parts-table .image-zoom-container {
    margin: 0 auto;
  }
}

/* Ürün bilgisi stilleri */
.part-info-row > div {
  margin-bottom: 1rem;
}

.info-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 0.2rem;
}

.info-value {
  font-weight: 600;
  color: #333;
}

/* Diğer stiller */
.pagination-info {
  color: #6c757d;
  font-size: 0.95rem;
}

.btn-prev,
.btn-next {
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.fuel-type-option label.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
}

.fuel-type-option input[type="radio"]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
}

/* Referans kodları için stiller */
.reference-codes {
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  margin-top: 10px;
}

.reference-codes-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: #495057;
}

.reference-codes-body {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ref-code-badge {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.oem-codes {
  margin-top: 10px;
}

.oem-codes .reference-codes-body {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ref-code-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  border: 1px solid rgba(13, 110, 253, 0.15);
}

/* Farklı kod tipleri için farklı renkler */
.ref-code-badge[class*="OEM"] {
  background-color: rgba(25, 135, 84, 0.08);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.15);
}

.ref-code-badge[class*="Bosal"] {
  background-color: rgba(108, 117, 125, 0.08);
  color: #6c757d;
  border-color: rgba(108, 117, 125, 0.15);
}

.ref-code-badge[class*="Walker"] {
  background-color: rgba(220, 53, 69, 0.08);
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.15);
}

.ref-code-badge[class*="Fenno"] {
  background-color: rgba(255, 193, 7, 0.08);
  color: #fd7e14;
  border-color: rgba(255, 193, 7, 0.15);
}

/* List view için ekstra stil */
.results-grid[data-view="list"] .oem-codes {
  margin-top: 5px;
}

.results-grid[data-view="list"] .oem-codes .reference-codes-body {
  justify-content: flex-start;
}

/* Grid view için ekstra stil */
.results-grid[data-view="grid"] .oem-codes {
  margin-bottom: 10px;
}

.results-grid[data-view="grid"] .oem-codes .reference-codes-body {
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Header Animasyonları */
.header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  will-change: transform;
}

.header--sticky.sticky {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header--sticky.slide-up {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
}

.header--sticky.slide-down {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Header içerik animasyonları */
.header--sticky .header-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.header--sticky.slide-up .header-content {
  opacity: 0;
  transform: translateY(-20px);
}

.header--sticky.slide-down .header-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Menü Animasyonları */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a90e2;
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

/* Progress Bar */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #4a90e2, #357abd);
  transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .sticky {
    padding: 10px 0;
  }

  .nav-link:after {
    display: none;
  }
}
