.tab-box-area {
  max-width: 1720px;
  padding: 50px;
  margin: 0 auto;
  box-sizing: border-box;
}

.tab-box {
  width: 100%;
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #e7e5e5;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-box::-webkit-scrollbar {
  display: none;
}

.tab-box .tab-btn {
  font-size: 17px;
  font-weight: 500;
  margin: 0px 5px;
  background: none;
  cursor: pointer;
  color: #55524f;
  padding: 7px 15px;
  flex-shrink: 0;
}

.tab-box .tab-btn.active {
  color: #191818;
  position: relative;
}

.tab-box .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #191818;
}

.tab-box .tab-btn:hover {
  color: #191818;
}

.content-box {
  padding: 25px;
}

.content-box .content {
  display: none;
  animation: moving 0.5s ease;
}

@keyframes moving {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.content-box .content.active {
  display: block;
  font-size: 13px;
}

.content-box .content h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}

/* Stok Durumu CSS */
.stock-real.in-stock {
  color: #22c55e;
  font-weight: 600;
}

.stock-real.out-of-stock {
  color: #ef4444;
  font-weight: 600;
}

.btn.disabled {
  background-color: #9ca3af !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.btn.disabled:hover {
  background-color: #9ca3af !important;
  transform: none !important;
}

input[disabled] {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Ürün Açıklaması Resim Responsive */
.content-box .content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 10px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobil için ek düzenlemeler */
@media (max-width: 768px) {
  .content-box .content {
    padding: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .content-box .content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px 0;
    border-radius: 6px;
  }

  .content-box .content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .content-box .content table {
    width: 100% !important;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }

  .content-box .content iframe {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
  .content-box .content {
    padding: 10px;
  }

  .content-box .content img {
    margin: 10px 0;
    border-radius: 4px;
  }
}

@media (max-width: 576px) {
  .tab-box-area {
    padding: 20px 10px;
  }

  .tab-box {
    margin-bottom: 10px;
    padding-bottom: 5px;
  }

  .tab-box .tab-btn {
    font-size: 10px;
    padding: 5px 10px;
    margin: 0 2px;
  }

  .content-box {
    padding: 15px 0;
  }

  .content-box .content.active {
    font-size: 12px;
  }

  .content-box .content h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

/* Alert Mesajları */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert::after {
  content: "×";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
}

.alert::after:hover {
  opacity: 1;
}

/* Yorum Sistemi Stilleri - Modern Minimal Tasarım */
.yorumlar-liste {
  margin-bottom: 40px;
}

.yorum-yok {
  text-align: center;
  color: #8b8b8b;
  font-size: 16px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.yorum-yok::before {
  content: "💬";
  display: block;
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.yorum-item {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.yorum-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yorum-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #e0e0e0;
}

.yorum-item:hover::before {
  opacity: 1;
}

.yorum-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.yorum-kullanici {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.yorum-kullanici::before {
  content: "👤";
  font-size: 14px;
  opacity: 0.7;
}

.yorum-puan {
  display: flex;
  gap: 2px;
  align-items: center;
}

.yorum-puan i {
  font-size: 16px;
  color: #ddd;
  transition: color 0.2s ease;
}

.yorum-puan i.aktif {
  color: #ffc107;
  text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.yorum-tarih {
  font-size: 13px;
  color: #8b8b8b;
  font-weight: 400;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.yorum-icerik {
  margin-bottom: 16px;
}

.yorum-icerik p {
  color: #4a5568;
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
  font-weight: 400;
}

.yorum-resimler {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.yorum-resim {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.yorum-resim:hover {
  transform: scale(1.01);
}

.yorum-resim img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.yorum-resim img:hover {
  filter: brightness(1.05);
}

/* Yorum Yazma Formu */
.yorum-yazma {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e7e5e5;
  margin-top: 30px;
}

.yorum-yazma h3 {
  margin: 0 0 20px 0;
  color: #191818;
  font-size: 20px;
}

.yorum-formu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.puan-secimi {
  display: flex;
  gap: 15px;
  align-items: center;
}

.puan-secimi input[type="radio"] {
  display: none;
}

.puan-secimi label {
  cursor: pointer;
  padding: 8px 12px;
  border: 2px solid #e7e5e5;
  border-radius: 6px;
  background: #fff;
  transition: all 0.3s ease;
  margin-bottom: 0;
  font-weight: 500;
}

.puan-secimi input[type="radio"]:checked + label {
  background: #191818;
  color: #fff;
  border-color: #191818;
}

.puan-secimi label:hover {
  border-color: #191818;
}

.yorum-formu textarea {
  padding: 12px;
  border: 2px solid #e7e5e5;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s ease;
}

.yorum-formu textarea:focus {
  outline: none;
  border-color: #191818;
}

.yorum-formu input[type="file"] {
  padding: 8px;
  border: 2px solid #e7e5e5;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

.yorum-formu small {
  color: #666;
  font-size: 12px;
  margin-top: 5px;
}

.resim-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.resim-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e7e5e5;
}

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

.resim-preview-item .remove-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resim-preview-item .remove-btn:hover {
  background: #c82333;
}

.yorum-gonder-btn {
  background: #191818;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.yorum-gonder-btn:hover {
  background: #333;
}

.yorum-gonder-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

.yorum-giris-gerekli {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  margin-top: 30px;
  border: 1px solid #e7e5e5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.yorum-giris-gerekli::before {
  content: "🔐";
  display: block;
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.yorum-giris-gerekli p {
  font-size: 16px;
  color: #55524f;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.5;
}

.yorum-giris-gerekli .giris-butonu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #191818 0%, #333333 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(25, 24, 24, 0.2);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.yorum-giris-gerekli .giris-butonu::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.yorum-giris-gerekli .giris-butonu:hover::before {
  left: 100%;
}

.yorum-giris-gerekli .giris-butonu:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 24, 24, 0.3);
  background: linear-gradient(135deg, #333333 0%, #191818 100%);
}

.yorum-giris-gerekli .giris-butonu:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(25, 24, 24, 0.2);
}

.yorum-giris-gerekli .giris-butonu i {
  font-size: 18px;
  opacity: 0.9;
}

.yorum-giris-gerekli .ek-bilgi {
  margin-top: 20px;
  font-size: 13px;
  color: #8b8b8b;
  font-style: italic;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .tab-box {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .tab-btn {
    flex-shrink: 0;
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .yorum-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .yorum-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .yorum-puan {
    order: -1;
  }

  .yorum-resim img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }

  .yorum-yazma {
    padding: 20px 15px;
  }

  .yorum-giris-gerekli {
    padding: 30px 20px;
    margin-top: 25px;
  }

  .yorum-giris-gerekli::before {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .yorum-giris-gerekli p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .yorum-giris-gerekli .giris-butonu {
    padding: 12px 24px;
    font-size: 14px;
  }

  .yorum-giris-gerekli .ek-bilgi {
    font-size: 12px;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .tab-btn {
    font-size: 11px;
    padding: 6px 8px;
  }

  .yorum-resim img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }

  .yorum-resimler {
    gap: 8px;
  }

  .yorum-resim {
    width: 50px !important;
    height: 50px !important;
  }

  .yorum-giris-gerekli {
    padding: 25px 15px;
    margin-top: 20px;
  }

  .yorum-giris-gerekli::before {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .yorum-giris-gerekli p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .yorum-giris-gerekli .giris-butonu {
    padding: 10px 20px;
    font-size: 13px;
    gap: 8px;
  }

  .yorum-giris-gerekli .giris-butonu i {
    font-size: 16px;
  }

  .yorum-giris-gerekli .ek-bilgi {
    font-size: 11px;
    margin-top: 12px;
  }
}
