/* ==========================================================================
   Product Details Styles
   ========================================================================== */

/* Back to Category Button */
.btn-back-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-back-category:hover {
  background: rgba(0, 147, 60, 0.15);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateX(-5px);
}

.btn-back-category i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-back-category:hover i {
  transform: translateX(-3px);
}

/* Breadcrumb Navigation */
.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link:hover {
  color: var(--accent-color);
}

.breadcrumb-link i {
  font-size: 16px;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.breadcrumb-current {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* Product Badges */
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge--warranty {
  background: linear-gradient(135deg, var(--accent-color), #00b347);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 147, 60, 0.4);
}

.product-badge--warranty i {
  font-size: 16px;
}

.product-badge--new {
  background: linear-gradient(135deg, #007bff, #00d4ff);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.product-badge--bestseller {
  background: linear-gradient(135deg, #ff6b00, #ffb800);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

/* ==========================================================================
   Product Content Section
   ========================================================================== */

.product-content-section {
  padding: 30px 0;
}

.product-content-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.product-content-section h6 {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.product-content-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Product Bullets List */
.product-content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.product-content-section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.product-content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* ==========================================================================
   Product Gallery Styles
   ========================================================================== */

.product-gallery-wrapper {
  background: transparent;
  border-radius: 16px;
  border: none;
  padding: 20px;
  height: 100%;
}

.product-gallery-wrapper .gallery-thumb {
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  transition: all 0.3s ease;
  object-fit: cover;
  height: 70px;
  width: 100%;
}

.product-gallery-wrapper .gallery-thumb:hover {
  border-color: rgba(0, 147, 60, 0.5) !important;
  transform: scale(1.05);
}

.product-gallery-wrapper .gallery-thumb.active,
.product-gallery-wrapper .gallery-thumb[style*="rgb(40, 167, 69)"] {
  border-color: var(--accent-color) !important;
}

.product-gallery-wrapper .gallery-main-img {
  border-radius: 12px !important;
  object-fit: cover;
  width: 100%;
  max-height: 450px;
  transition: transform 0.3s ease;
}

.product-gallery-wrapper .gallery-main-img:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   Product Info Card
   ========================================================================== */

.product-info-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-info-card h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-info-card h6 {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.product-info-card > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.product-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.product-info-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.product-info-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* Product Divider */
.product-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 25px 0;
}

/* ==========================================================================
   Elements Section
   ========================================================================== */

.product-elements-section .card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.product-elements-section .card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 147, 60, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Params Table Section
   ========================================================================== */

.product-params-section table {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
}

.product-params-section th {
  background: rgba(0, 147, 60, 0.2);
  color: #fff;
  font-weight: 600;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-params-section td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.product-params-section tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
  .product-info-card h1 {
    font-size: 1.8rem;
  }
  
  .product-gallery-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .product-breadcrumb {
    padding: 12px 15px;
  }
  
  .breadcrumb-link,
  .breadcrumb-current {
    font-size: 13px;
  }
  
  .product-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .product-info-card {
    padding: 20px;
  }
  
  .product-info-card h1 {
    font-size: 1.5rem;
  }
  
  .product-gallery-wrapper .gallery-main-img {
    max-height: 300px;
  }
}
