/* --- استایل‌های اختصاصی صفحه جزئیات محصول --- */
.breadcrumb-section {
  background-color: #161616;
  padding: 15px 20px;
  border-bottom: 1px solid #222;
  font-size: 1.3rem;
}
.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  color: #888;
}
.breadcrumb-container a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}
.breadcrumb-container a:hover {
  color: #c1121f;
}

.detail-wrapper-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 50px;
}

/* بخش گالری و تصویر محصول */
.detail-gallery {
  position: relative;
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.detail-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #c1121f;
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
}
.main-product-img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}
.price-value-call {
  display: block;
  font-size: 1.4rem;
  color: #ffd700 !important; /* رنگ زرد/طلایی برای جلب توجه قیمت استعلامی */
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

/* بخش مشخصات متنی سمت چپ (در راست‌چین) */
.detail-content {
  display: flex;
  flex-direction: column;
}
.detail-cat {
  color: #c1121f;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.detail-title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}
.detail-desc {
  color: #aaa;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

/* باکس خرید و استعلام قیمت */
.detail-cta-box {
  background-color: #161616;
  border: 1px dashed #444;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
}
.detail-price-title {
  display: block;
  color: #888;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.detail-price-val {
  display: block;
  color: #ffd700;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.detail-buttons-row {
  display: flex;
  gap: 15px;
}
.btn-call {
  flex: 1;
  background-color: #c1121f;
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.3rem;
}
.btn-call:hover {
  background-color: #fff;
  color: #c1121f;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
.btn-catalog {
  background-color: transparent;
  border: 1px solid #444;
  color: #ccc;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.3rem;
}
.btn-catalog:hover {
  border-color: #fff;
  color: #fff;
}

/* بخش تب‌های جزئیات تکمیلی */
.tabs-section {
  margin-top: 5rem;
  border-top: 1px solid #222;
  padding-top: 4rem;
}
.tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #222;
  padding-bottom: 1px;
  margin-bottom: 30px;
}
.tab-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 12px 25px;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: 0.3s;
}
.tab-btn.active {
  color: #c1121f;
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #c1121f;
}
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-pane.active {
  display: block;
}

/* استایل جدول مشخصات فنی */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.specs-table tr {
  border-bottom: 1px solid #222;
}
.specs-table td {
  padding: 15px 20px;
  font-size: 1.3rem;
}
.specs-table td:first-child {
  color: #888;
  font-weight: bold;
  width: 30%;
}
.specs-table td:last-child {
  color: #fff;
}

/* استایل لیست‌های مزایا و محتویات */
.detail-list {
  list-style: none;
  padding: 0;
}
.detail-list li {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.detail-list li::before {
  content: "✔";
  color: #c1121f;
  font-weight: bold;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-title {
    font-size: 1.8rem;
  }
  .tabs-nav {
    flex-direction: column;
    gap: 0;
    border-bottom: none;
  }
  .tab-btn {
    text-align: right;
    border-bottom: 1px solid #222;
    width: 100%;
  }
  .tab-btn.active::after {
    display: none;
  }
  .tab-btn.active {
    border-right: 3px solid #c1121f;
    padding-right: 20px;
  }
  .detail-buttons-row {
    flex-direction: column;
  }
  .btn-catalog {
    text-align: center;
  }
}
