/* 
========================================
INDIGO TMT - Product Styles
========================================
*/

/* 
----------------------------------------
PRODUCTS OVERVIEW
----------------------------------------
*/
.product-card {
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.product-card-text {
  color: var(--medium-gray);
  margin-bottom: 1.25rem;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  z-index: 5;
}

.product-badge.new {
  background-color: var(--success);
}

.product-badge.featured {
  background-color: var(--secondary);
}

/* 
----------------------------------------
PRODUCT DETAIL
----------------------------------------
*/
.product-detail-section {
  padding: 5rem 0;
}

.product-detail-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-detail-image img {
  width: 100%;
  height: auto;
}

.product-thumbnails {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--primary);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  color: var(--medium-gray);
}

.product-meta-item {
  display: flex;
  align-items: center;
}

.product-meta-item i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.product-description {
  margin-bottom: 2rem;
}

/* 
----------------------------------------
SPECIFICATIONS TABLE
----------------------------------------
*/
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.specs-table th {
  background-color: var(--primary);
  color: white;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.specs-table th:first-child {
  border-top-left-radius: var(--border-radius-sm);
}

.specs-table th:last-child {
  border-top-right-radius: var(--border-radius-sm);
}

.specs-table tr:nth-child(even) {
  background-color: var(--lightest);
}

.specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--light-gray);
}

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

.specs-table tr:last-child td:first-child {
  border-bottom-left-radius: var(--border-radius-sm);
}

.specs-table tr:last-child td:last-child {
  border-bottom-right-radius: var(--border-radius-sm);
}

/* 
----------------------------------------
APPLICATIONS
----------------------------------------
*/
.application-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: transform 0.3s ease;
}

.application-card:hover {
  transform: translateY(-5px);
}

.application-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.application-card-body {
  padding: 1.5rem;
}

.application-card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.application-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.application-icon i {
  font-size: 1.5rem;
  color: white;
}

/* 
----------------------------------------
RELATED PRODUCTS
----------------------------------------
*/
.related-products {
  padding: 4rem 0;
  background-color: var(--lightest);
}

.related-product-slider {
  padding-bottom: 3rem;
}

.related-product-card {
  margin: 0 10px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .product-title {
    font-size: 2.25rem;
  }
  
  .product-thumbnail {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 767.98px) {
  .product-detail-section {
    padding: 4rem 0;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .product-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .product-meta {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .application-card-img {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .product-title {
    font-size: 1.75rem;
  }
  
  .product-thumbnail {
    width: 50px;
    height: 50px;
  }
  
  .product-card-img {
    height: 180px;
  }
} 