/* Product Detail Page Styles */

/* Breadcrumb Section */
.breadcrumb-section {
  background: #f8f9fa;
  padding: 20px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumb-item a {
  color: #00a651;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: #008040;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 8px;
  color: #999;
}

/* Product Details Section */
.product-details {
  padding: 40px 0;
}

.product-gallery {
  position: sticky;
  top: 20px;
}

.product-gallery .main-image {
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
  transition: transform 0.3s;
}

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

.product-gallery .main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.thumbnail-gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.thumb-item {
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
}

.thumb-item:hover {
  border-color: #00a651;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.2);
}

.thumb-item.active {
  border-color: #00a651;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.thumb-item img {
  width: 100%;
  height: auto;
  display: block;
}

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

.product-badges {
  margin-bottom: 15px;
}

.product-badges .badge {
  font-size: 12px;
  padding: 6px 12px;
  margin-right: 8px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: #00a651;
  color: white;
}

.badge-primary {
  background: #0066cc;
  color: white;
}

.product-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.product-rating .stars {
  color: #ffc107;
  font-size: 18px;
}

.product-rating .rating-text {
  color: #666;
  font-size: 14px;
}

.product-description {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.product-features {
  margin-bottom: 35px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #00a651;
}

.product-features h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  padding: 10px 0;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-features li i {
  color: #00a651;
  font-size: 18px;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.product-actions .btn {
  flex: 1;
  min-width: 200px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-actions .btn-primary {
  background: #00a651;
  border-color: #00a651;
}

.product-actions .btn-primary:hover {
  background: #008040;
  border-color: #008040;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 166, 81, 0.3);
}

.product-actions .btn-success {
  background: #28a745;
  border-color: #28a745;
}

.product-actions .btn-success:hover {
  background: #218838;
  border-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.product-meta {
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
}

.product-meta .meta-item {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.product-meta .meta-item:last-child {
  border-bottom: none;
}

.product-meta .meta-item strong {
  color: #2c3e50;
  margin-right: 10px;
  min-width: 100px;
  display: inline-block;
}

.product-meta .tag {
  display: inline-block;
  background: #fff;
  padding: 4px 12px;
  border-radius: 15px;
  margin-right: 6px;
  margin-top: 5px;
  font-size: 12px;
  border: 1px solid #ddd;
}

/* Product Tabs Section */
.product-tabs-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.product-tabs .nav-tabs {
  border-bottom: 3px solid #00a651;
  margin-bottom: 30px;
}

.product-tabs .nav-tabs > li > a {
  color: #555;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 25px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.product-tabs .nav-tabs > li > a:hover {
  background: rgba(0, 166, 81, 0.1);
  border-bottom: 3px solid #00a651;
}

.product-tabs .nav-tabs > li.active > a,
.product-tabs .nav-tabs > li.active > a:hover,
.product-tabs .nav-tabs > li.active > a:focus {
  color: #00a651;
  background: white;
  border: none;
  border-bottom: 3px solid #00a651;
}

.product-tabs .tab-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-height: 400px;
}

/* Specifications Grid */
.specifications-grid {
  display: grid;
  gap: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}

.spec-row:hover {
  background: #f8f9fa;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
}

.spec-value {
  color: #555;
  font-size: 14px;
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.application-card {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.application-card:hover {
  background: white;
  border-color: #00a651;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 166, 81, 0.15);
}

.application-card .app-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #00a651;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  transition: transform 0.3s;
}

.application-card:hover .app-icon {
  transform: scale(1.1);
}

.application-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.application-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Technical Details */
.technical-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00a651;
}

.technical-content h3:first-child {
  margin-top: 0;
}

.printer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.brand-item {
  padding: 12px 25px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-weight: 600;
  color: #555;
  transition: all 0.3s;
}

.brand-item:hover {
  background: #00a651;
  color: white;
  border-color: #00a651;
  transform: translateY(-2px);
}

.two-column-list {
  column-count: 2;
  column-gap: 30px;
  list-style: none;
  padding: 0;
}

.two-column-list li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
  font-size: 15px;
}

.two-column-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a651;
  font-weight: bold;
  font-size: 18px;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
}

.faq-item {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h4 i {
  color: #00a651;
  font-size: 20px;
}

.faq-item p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  padding-left: 30px;
}

/* Related Products Section */
.related-products {
  padding: 60px 0;
  background: white;
}

.related-products h3 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.related-product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.related-product-card .product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f8f9fa;
}

.related-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-product-card:hover .product-image img {
  transform: scale(1.1);
}

.related-product-card .product-card-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-product-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.related-product-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.related-product-card .btn-outline {
  border: 2px solid #00a651;
  color: #00a651;
  background: transparent;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.related-product-card .btn-outline:hover {
  background: #00a651;
  color: white;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #00a651 0%, #008040 100%);
  color: white;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.cta-buttons .btn-light {
  background: white;
  color: #00a651;
  border: 2px solid white;
}

.cta-buttons .btn-light:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn-outline-light:hover {
  background: white;
  color: #00a651;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
  .product-info {
    padding-left: 0;
    margin-top: 40px;
  }

  .product-gallery {
    position: static;
  }

  .cta-box {
    text-align: center;
    justify-content: center;
  }

  .cta-content {
    flex: 100%;
  }

  .cta-buttons {
    justify-content: center;
    flex: 100%;
  }
}

@media (max-width: 767px) {
  .product-title {
    font-size: 28px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }

  .two-column-list {
    column-count: 1;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .spec-label {
    font-weight: 700;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .thumbnail-gallery {
    justify-content: space-between;
  }

  .thumb-item {
    flex: 0 0 calc(25% - 12px);
    min-width: auto;
  }

  .product-tabs .nav-tabs > li > a {
    padding: 12px 15px;
    font-size: 14px;
  }

  .product-tabs .tab-content {
    padding: 25px 15px;
  }
}
