
    .tree-view { font-family: monospace; font-size: 14px; }
    .tree-view ul { list-style: none; padding-left: 20px; }
    .tree-view li { margin: 4px 0; }
    .folder-icon { color: #f0ad4e; margin-right: 5px; }
    .file-icon { color: #6c757d; margin-right: 5px; }
    .tree-toggler { cursor: pointer; user-select: none; }
    .tree-nested { display: none; }
    .tree-nested.active { display: block; }
/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-detail-card {
  animation: fadeInUp 0.6s ease;
}
.product-gallery {
  position: relative;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .product-detail-card {
    padding: 30px 20px;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }
}
/* Availability */
.availability-info {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 25px;
}
.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.stock-status.in-stock {
  color: #28a745;
}

.stock-status i {
  font-size: 20px;
}

.sku-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.sku-info .label {
  color: #6c757d;
}

.sku-info .value {
  font-weight: 700;
  color: #1a1a1a;
}

/* ===== PRODUCT DETAIL PROFESSIONAL STYLES ===== */

.product-detail-main {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  min-height: 100vh;
  padding: 40px 0 80px;
}

/* Breadcrumb */
.product-breadcrumb {
  margin-bottom: 30px;
}

.breadcrumb {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #764ba2;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Product Detail Card */
.product-detail-card {
  background: white;
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badge-container {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.badge-new,
.badge-hot {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.badge-hot {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.main-image-wrapper:hover .main-product-image {
  transform: scale(1.1);
}

.btn-zoom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
}

.main-image-wrapper:hover .btn-zoom {
  opacity: 1;
}

.btn-zoom:hover {
  transform: scale(1.1);
  background: #667eea;
  color: white;
}

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

.product-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.rating-text {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.review-count {
  color: #6c757d;
  font-size: 15px;
}

/* Price Section */
.price-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.currency {
  font-size: 24px;
}

.original-price {
  font-size: 24px;
  color: #999;
  text-decoration: line-through;
}

.discount-badge {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
}

/* Product Description */
.product-description {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid #667eea;
}

.description-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
}

.description-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.quantity-label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
}

.btn-quantity {
  width: 45px;
  height: 45px;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
}

.btn-quantity:hover {
  background: #667eea;
  color: white;
}

.quantity-input {
  width: 70px;
  height: 45px;
  border: none;
  border-left: 2px solid #e9ecef;
  border-right: 2px solid #e9ecef;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.quantity-input:focus {
  outline: none;
}
