.product-details-container {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
}

.product-details-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.product-breadcrumb {
  background: white;
  padding: 15px 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-item {
  color: #666;
  font-size: 14px;
}

.breadcrumb-item a {
  color: var(--theme-color1);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--theme-color2);
}

.breadcrumb-separator {
  color: #ccc;
  margin: 0 5px;
}

/* 3D Model Modal - Çalışan Versiyon */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 600px;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

.model-content {
  width: 100%;
  height: 100%;
}

.model-container {
  width: 100%;
  height: 100%;
}

.placeholder-3d-view {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.custom-close-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.custom-close-btn i {
  font-size: 18px;
  color: #333;
}

.mobile-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.rotate-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rotate-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.rotate-btn i {
  font-size: 20px;
  color: #333;
}

/* AR Button Styles - Yeni Versiyon */
.ar-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.ar-button:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.ar-button i {
  font-size: 16px;
}

/* Model Loading */
.model-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.spinner-container {
  text-align: center;
  color: white;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Model Viewer Özel Stiller */
#active-model {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-overlay-content {
    width: 95%;
    height: 90%;
  }
  
  .custom-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .ar-button {
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    font-size: 12px;
  }
}

.breadcrumb-item.active {
  color: var(--theme-color1);
  font-weight: 600;
}

/* Main Product Section */
.product-main-section {
  border-radius: 25px;
  padding: 40px;
  margin-bottom: 40px;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Product Images */
.product-images-section {
  position: relative;
}

.main-product-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f8f9fa;
}

.main-product-image .main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-images-section:hover .main-product-image .main-img {
  transform: scale(1.05);
}

.product-badge-detail {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #fff;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  z-index: 3;
  text-transform: uppercase;
  width: 120px;
}
/* 3D View Button */
.product-3d-btn-detail {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--theme-color1);
  border: none;
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-3d-btn-detail:hover {
  background: var(--theme-color1);
  color: white;
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 25px rgba(0, 130, 203, 0.4);
}

.product-3d-btn-detail i {
  font-size: 16px;
}

/* Thumbnail Images */
.product-thumbnails {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item.active {
  border-color: var(--theme-color1);
}

.thumbnail-item:hover {
  border-color: var(--theme-color2);
  transform: translateY(-3px);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Section */
.product-info-section {
  padding-left: 20px;
}

.product-category-detail {
  color: var(--theme-color1);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  display: inline-block;
}

.product-title-detail {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.product-description-detail {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Product Features */
.product-features-detail {
  margin-bottom: 30px;
}

.features-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.feature-item-detail {
  background: linear-gradient(135deg, #0082cb, #38a7e6);
  color: white;
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 130, 203, 0.2);
}

.feature-item-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 130, 203, 0.3);
}

/* Technical Specifications */
.tech-specs-section {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}

.specs-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-title i {
  color: var(--theme-color1);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.spec-item {
  background: white;
  padding: 20px;
  border-radius: 15px;
  border-left: 4px solid var(--theme-color1);
  transition: all 0.3s ease;
}

.spec-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spec-label {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  font-size: 14px;
}

.spec-value {
  color: #666;
  font-size: 16px;
}

/* Action Buttons */
.product-actions-detail {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary-detail {
  background: linear-gradient(135deg, #0082cb, #38a7e6);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(0, 130, 203, 0.3);
}

.btn-primary-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 130, 203, 0.4);
}

.btn-secondary-detail {
  background: white;
  color: var(--theme-color1);
  padding: 15px 30px;
  border: 2px solid var(--theme-color1);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-detail:hover {
  background: var(--theme-color1);
  color: white;
  transform: translateY(-3px);
}

.btn-catalog-detail {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.btn-catalog-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(231, 76, 60, 0.4);
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.qr-code-detail {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Related Products Section */
.related-products-section {
  border-radius: 25px;
  padding: 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--theme-color1), var(--theme-color2));
  border-radius: 2px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-info-section {
    padding-left: 0;
  }

  .product-main-section {
    padding: 30px;
  }
}

@media screen and (max-width: 768px) {
  .product-details-container {
    padding: 30px 0;
  }

  .product-details-wrapper {
    padding: 0 15px;
  }

  .product-main-section {
    padding: 20px;
  }

  /* .main-product-image img {
    height: 300px;
  } */

  .product-badge-detail {
    width:100px;
  }

  .product-badge-detail img{
    width:100px !important;
  }

  .product-title-detail {
    font-size: 2rem;
  }

  .product-actions-detail {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-detail,
  .btn-secondary-detail,
  .btn-catalog-detail {
    justify-content: center;
    width: 100%;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .product-thumbnails {
    flex-wrap: wrap;
    justify-content: center;
  }

  .thumbnail-item {
    width: 60px;
    height: 60px;
  }

  .product-title-detail {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-up-delay-1 {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.fade-in-up-delay-2 {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.fade-in-up-delay-3 {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 3D Model Viewer Modal Styles */
.modal-overlay-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content-3d {
  margin:auto;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 350px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close-3d {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close-3d:hover {
  background: rgba(244, 67, 54, 0.9);
  color: white;
  transform: scale(1.1);
}

.model-container-3d {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

.model-container-3d model-viewer {
  width: 100%;
  height: 100%;
}

.model-loading-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #666;
}

.loading-spinner-3d {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--theme-color1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ar-button-3d {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--theme-color1), var(--theme-color2));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ar-button-3d:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hotspot-3d {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--theme-color1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hotspot-3d:hover {
  transform: scale(1.2);
  background: var(--theme-color1);
  color: white;
}

.hotspot-annotation-3d {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.hotspot-3d:hover .hotspot-annotation-3d {
  opacity: 1;
  pointer-events: auto;
}

.model-info-panel-3d {
  background: #f8f9fa;
  padding: 30px;
  overflow-y: auto;
  border-left: 1px solid #e9ecef;
}

.model-info-panel-3d h3 {
  color: var(--theme-color1);
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-group-3d {
  margin-bottom: 30px;
}

.control-group-3d h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-grid-3d {
  display: grid;
  gap: 10px;
}

.status-item-3d {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--theme-color1);
  font-size: 14px;
}

.status-label-3d {
  font-weight: 600;
  color: #333;
}

.status-value-3d {
  font-weight: 500;
}

.control-buttons-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.control-btn-3d {
  background: white;
  border: 2px solid var(--theme-color1);
  color: var(--theme-color1);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.control-btn-3d:hover {
  background: var(--theme-color1);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .modal-content-3d {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: 95vh;
  }
  
  .model-info-panel-3d {
    max-height: 300px;
    border-left: none;
    border-top: 1px solid #e9ecef;
  }
}

@media (max-width: 768px) {
  .modal-content-3d {
    width: 98%;
    height: 95vh;
    border-radius: 15px;
  }
  
  .model-info-panel-3d {
    padding: 20px;
    max-height: 250px;
  }
  
  .control-buttons-3d {
    grid-template-columns: 1fr;
  }
  
  .ar-button-3d {
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .modal-overlay-3d {
    padding: 10px;
  }
  
  .modal-content-3d {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  
  .model-info-panel-3d {
    padding: 15px;
    max-height: 200px;
  }
  
  .status-grid-3d {
    gap: 8px;
  }
  
  .status-item-3d {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Print Styles */
@media print {
  .product-3d-btn-detail,
  .btn-primary-detail,
  .btn-secondary-detail,
  .btn-catalog-detail,
  .modal-overlay-3d {
    display: none;
  }

  .product-details-container {
    background: white;
  }

  .product-main-section,
  .related-products-section {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
