/* Temel Stiller */
.pvr-iframe {
  border: none;
  min-height: 350px;
  max-height: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 16/9;
  object-fit: contain;
}

.pvr-html5 {
  width: 100%;
  min-height: 350px;
  max-height: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  aspect-ratio: 16/9;
  object-fit: contain;
}

/* Header ve Meta Bilgi Stilleri */
.pvr-header {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 30px 0;
  border: 1px solid #eaeaea;
}

.pvr-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 20px 0;
  line-height: 1.3;
  letter-spacing: -0.5px;
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 12px;
  position: relative;
}

.pvr-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #e74c3c;
}

.pvr-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: #666;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.pvr-author, .pvr-date {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.pvr-author:hover, .pvr-date:hover {
  background: #f1f3f5;
  transform: translateY(-1px);
}

.pvr-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin: 25px 0 60px 0;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

/* Yıldız Değerlendirme Stilleri */
.pvr-rating {
  margin-bottom: 15px;
  display: flex;
  gap: 2px;
}

.pvr-rating .fa-stack {
  font-size: 16px;
  width: 24px;
  height: 24px;
  line-height: 24px;
}

.pvr-rating .fa-star {
  color: #f1c40f;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.pvr-rating .fa-star-o {
  color: #ddd;
}

/* Colorbox Özelleştirmeleri */
#colorbox, #cboxWrapper {
  max-width: 95vw !important;
  max-height: 95vh !important;
}

#cboxContent {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 10px;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
}

#cboxLoadedContent {
  margin: 0;
  padding: 20px;
  width: 100% !important;
  height: auto !important;
  max-height: calc(95vh - 40px) !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#cboxClose {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: white;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 1000;
}

/* İlgili Ürünler Başlığı */
h3 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 24px 0;
}

/* Ürün Grid Düzeni */
.product-grid {
  margin: 0 -15px;
  display: flex;
  flex-wrap: wrap;
}

.product-grid > [class*='col-'] {
  padding: 15px;
  display: flex;
}

/* Ürün Kartı Stilleri */
.product-thumb {
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-thumb:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Ürün Resmi */
.product-thumb .image {
  padding: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-thumb .image img {
  border-radius: 4px;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-thumb:hover .image img {
  transform: scale(1.05);
}

/* Ürün Detayları */
.product-thumb .caption {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-thumb h4 {
  font-size: 16px;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.product-thumb h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-thumb h4 a:hover {
  color: #007bff;
}

.product-thumb p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Fiyat Stilleri */
.product-thumb .price {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 12px 0;
}

.price-new {
  color: #dc3545;
}

.price-old {
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
  font-size: 14px;
}

.price-tax {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* Buton Grubu Stilleri */
.button-group {
  border-top: 1px solid #eee;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.button-group button {
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-weight: 600;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sepete Ekle Butonu - Turuncu */
.btn-cart {
  background-color: #ff6b00 !important;
  color: white !important;
  flex: 2;
}

.btn-cart:hover {
  background-color: #e65c00 !important;
}

/* Favori Butonu - Kırmızı */
.btn-wishlist {
  background-color: #ff3b3b !important;
  color: white !important;
  flex: 1;
}

.btn-wishlist:hover {
  background-color: #e63333 !important;
}

/* Karşılaştırma Butonu - Kahverengi */
.btn-compare {
  background-color: #8b4513 !important;
  color: white !important;
  flex: 1;
}

.btn-compare:hover {
  background-color: #723a0f !important;
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
  .product-grid > [class*='col-'] {
    padding: 12px;
  }
  
  #colorbox, #cboxWrapper {
    max-width: 90vw !important;
  }
}

@media (max-width: 991px) {
  .product-thumb .caption {
    padding: 12px;
  }
  
  .product-thumb h4 {
    font-size: 15px;
  }
  
  .product-thumb .price {
    font-size: 16px;
  }
  
  #cboxContent {
    margin: 8px;
  }
  
  #cboxLoadedContent {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .pvr-header {
    padding: 20px;
    margin: 20px 0;
  }

  .pvr-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .pvr-meta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .pvr-author, .pvr-date {
    width: 100%;
  }

  .pvr-text {
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .pvr-iframe,
  .pvr-html5 {
    min-height: 300px;
    max-height: 450px;
  }
  
  .product-grid {
    margin: 0 -10px;
  }
  
  .product-grid > [class*='col-'] {
    padding: 10px;
  }
  
  .button-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .button-group button {
    width: 100%;
    justify-content: center;
    padding: 12px 15px;
  }
  
  .hidden-xs {
    display: none;
  }
  
  .product-thumb .image {
    padding: 10px;
  }
  
  .product-thumb .caption {
    padding: 10px;
  }
  
  #colorbox, #cboxWrapper {
    max-width: 95vw !important;
    margin: 0 auto;
  }
  
  #cboxContent {
    margin: 5px;
    border-radius: 8px;
  }
  
  #cboxLoadedContent {
    padding: 12px;
    max-height: calc(90vh - 30px) !important;
  }
}

@media (max-width: 575px) {
  .product-grid > [class*='col-'] {
    width: 100%;
  }
  
  .pvr-header h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  #colorbox, #cboxWrapper {
    width: 95vw !important;
    left: 2.5vw !important;
  }
  
  #cboxLoadedContent {
    padding: 10px;
  }
  
  .pvr-text {
    font-size: 14px;
    margin-bottom: 40px;
  }
}