/* Product Specification Page Styles */

.product-spec-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-spec-container h1 {
  color: #2c3e50;
  border-bottom: 3px solid #666;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.product-spec-container h2 {
  color: #34495e;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.product-overview {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-item {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  border-left: 3px solid #666;
}

.applications ul,
.benefits ul,
.packaging-storage ul,
.quality ul,
.storage ul,
.processing ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.applications li,
.benefits li,
.packaging-storage li,
.quality li,
.storage li,
.processing li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.contact-section {
  background: linear-gradient(135deg, #666, #444);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}

.contact-section h2 {
  color: white;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #666;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-spec-container {
    padding: 1rem;
    margin: 1rem;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .product-spec-container h1 {
    font-size: 1.5rem;
  }
}

/* Product Index Page Styles */
.category-section {
  margin-bottom: 3rem;
}

.category-section h3 {
  color: #2c3e50;
  border-bottom: 2px solid #666;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-color: #666;
}

.product-card h4 {
  color: #666;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.product-card p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

.note-section h2 {
  color: #34495e;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.note-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.note-section li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Table Styles for Product Specifications */
.table-description {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.table-description p {
  margin-bottom: 1rem;
}

.table-description li {
  margin: 0.5rem 0;
  padding-left: 1rem;
}

.table-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin: 2rem 0 1rem 0;
  border-bottom: 2px solid #666;
  padding-bottom: 0.5rem;
}

.responsive-table {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.responsive-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 600px;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.responsive-table th {
  background: #666;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.responsive-table tbody tr:hover {
  background: #f8f9fa;
}

.responsive-table tbody tr:last-child td {
  border-bottom: none;
}

.responsive-table td:first-child {
  font-weight: 600;
  color: #2c3e50;
}

/* Checkmark and dash styling */
.responsive-table td {
  text-align: center;
}

.responsive-table td:first-child,
.responsive-table td:nth-child(2) {
  text-align: left;
}

/* Mobile responsiveness for tables */
@media (max-width: 768px) {
  .responsive-table {
    font-size: 0.9rem;
  }
  
  .responsive-table th,
  .responsive-table td {
    padding: 8px 10px;
  }
  
  .table-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .responsive-table {
    font-size: 0.8rem;
  }
  
  .responsive-table th,
  .responsive-table td {
    padding: 6px 8px;
  }
}

/* Print Styles */
@media print {
  .product-spec-container {
    box-shadow: none;
    max-width: none;
  }
  
  .contact-section {
    background: #f8f9fa !important;
    color: #333 !important;
  }
  
  .cta-button {
    display: none;
  }
  
  .product-card:hover {
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .responsive-table {
    box-shadow: none;
  }
  
  .responsive-table th {
    background: #f8f9fa !important;
    color: #333 !important;
  }
}