/*
 * Single Product (Basic) Styles
 * Professional layout matching front-page design
 */

/* Page base */
body.single-product {
  background: #ffffff;
}

/* Hero/Breadcrumb Section */
.single-product .product-hero-section {
  background: #f9fafb;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* Main Product Section - white background, generous padding */
.single-product .product-main-section {
  background: #ffffff;
  padding: 60px 0;
}

/* Product Details/Tabs Section - light background */
.single-product .product-details-section {
  background: #f9fafb;
  padding: 60px 0;
}

/* Related Products Section */
.single-product .related-products-section {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
}

/* Grid layout */
.single-product .product-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .single-product .product-main-grid { grid-template-columns: 1fr 1fr; }
}

/* Gallery - professional card style */
.single-product .product-gallery-main {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Make Swiper structure behave even without Swiper styles */
.single-product .product-gallery-slider { width: 100%; }
.single-product .product-gallery-slider .swiper-wrapper { display: flex; }
.single-product .product-gallery-slider .swiper-slide { flex: 0 0 100%; }

.single-product .product-gallery-main img,
.single-product .product-main-image,
.single-product .product-gallery-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Thumbnail gallery */
.single-product .product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.single-product .product-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  opacity: 0.6;
}
.single-product .product-thumb:hover,
.single-product .product-thumb.active {
  opacity: 1;
  border-color: var(--primary-color);
}

/* Info column */
.single-product .product-title { 
  font-size: 2.25rem; 
  font-weight: 700;
  margin: 0 0 24px; 
  color: #1f2937;
  line-height: 1.2;
}

/* Category badges */
.single-product .product-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 12px;
}

/* Price display - card style */
.single-product .product-price-display { 
  background: #f9fafb;
  border: 2px solid #e5e7eb; 
  border-radius: 12px; 
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
}
.single-product .price-label {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.single-product .price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #2c5aa0;
}

.single-product .product-short-description .lead { 
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 32px;
}

/* Section content blocks */
.single-product .product-applications,
.single-product .product-highlights,
.single-product .product-benefits {
  margin-bottom: 32px;
}

.single-product .section-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}
.single-product .section-subtitle i {
  color: #f59e0b;
}

/* Content boxes */
.single-product .applications-content,
.single-product .product-features-content {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  line-height: 1.7;
  color: #4b5563;
}

/* Benefits card */
.single-product .product-benefits {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.single-product .product-benefits h4 {
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Benefits list */
.single-product .benefits-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}
.single-product .benefits-list li { 
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #4b5563;
}
.single-product .benefits-list li i {
  color: #10b981;
  margin-top: 2px;
  font-size: 1.125rem;
}

/* Tabs - professional card style */
.single-product .product-tabs-wrapper { 
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.single-product .tab-navigation { 
  display: flex;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.single-product .tab-button { 
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.single-product .tab-button:hover {
  color: #2c5aa0;
  background: rgba(44, 90, 160, 0.05);
}
.single-product .tab-button.active { 
  background: #ffffff;
  color: #2c5aa0;
  position: relative;
}
.single-product .tab-button.active::after { 
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2c5aa0;
}
.single-product .tab-pane { 
  display: none;
  padding: 32px;
}
.single-product .tab-pane.active { 
  display: block;
}
.single-product .tab-pane h3 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Product Actions Section (new standalone section) */
.single-product .product-actions-section {
  background: #f9fafb;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.single-product .product-actions-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.single-product .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.single-product .btn-accent {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}
.single-product .btn-accent:hover {
  background: #d97706;
  border-color: #d97706;
}
.single-product .btn-outline {
  background: #ffffff;
  color: #2c5aa0;
  border-color: #2c5aa0;
}
.single-product .btn-outline:hover {
  background: #2c5aa0;
  color: #ffffff;
}
.single-product .btn-cta::before { display: none; }

/* Contact Info Card - Full Width */
.single-product .product-contact-info {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
  padding: 48px;
  border-radius: 12px;
}
.single-product .contact-header {
  text-align: center;
  margin-bottom: 32px;
}
.single-product .contact-header h4 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.single-product .contact-header p {
  color: #cbd5e1;
  margin: 0;
  font-size: 1.125rem;
}
.single-product .contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.single-product .contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
}
.single-product .contact-method:hover {
  background: rgba(255, 255, 255, 0.15);
}
.single-product .contact-icon {
  width: 48px;
  height: 48px;
  background: #f59e0b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.single-product .contact-details {
  display: flex;
  flex-direction: column;
}
.single-product .contact-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 4px;
}
.single-product .contact-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

/* Support Items */
.single-product .support-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.single-product .support-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.single-product .support-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.single-product .support-header i {
  color: #f59e0b;
  font-size: 1.5rem;
}
.single-product .support-header h4 {
  margin: 0;
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
}
.single-product .support-item p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}
.single-product .support-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-product .support-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #e5e7eb;
}
.single-product .support-link:hover {
  background: #eff6ff;
  border-color: #2c5aa0;
}

/* Related Products */
.single-product .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.single-product .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}
.single-product .section-header .section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 400;
  display: block;
}
.single-product .related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.single-product .product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
.single-product .product-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.single-product .product-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f9fafb;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.single-product .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}
.single-product .product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.single-product .product-content .product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}
.single-product .product-content .product-title a {
  color: #1f2937;
  text-decoration: none;
  display: block;
}
.single-product .product-content .product-title a:hover {
  color: #2c5aa0;
}
.single-product .product-content .product-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: auto;
  flex-grow: 1;
}
.single-product .product-content .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* Breadcrumbs */
.single-product .breadcrumbs {
  margin-bottom: 0;
}
.single-product .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #6b7280;
  flex-wrap: wrap;
}
.single-product .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.single-product .breadcrumb-item:not(:last-child)::after {
  content: '/';
  color: #d1d5db;
}
.single-product .breadcrumb-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  text-decoration: none;
}
.single-product .breadcrumb-item a:hover {
  color: #2c5aa0;
}
.single-product .breadcrumb-item.active {
  color: #1f2937;
  font-weight: 500;
}

/* Remove animations */
.single-product * { animation: none !important; transition: none !important; }
.single-product [data-aos] { opacity: 1 !important; transform: none !important; }

/* Responsive */
@media (max-width: 768px) {
  .single-product .product-actions-section {
    padding: 40px 0;
  }
  .single-product .product-contact-info {
    padding: 32px 24px;
  }
  .single-product .contact-methods {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .single-product .product-main-section,
  .single-product .product-details-section,
  .single-product .related-products-section {
    padding: 40px 0;
  }
  .single-product .product-title {
    font-size: 1.75rem;
  }
  .single-product .btn {
    width: 100%;
    justify-content: center;
  }
  .single-product .contact-methods {
    gap: 12px;
  }
  .single-product .contact-method {
    padding: 12px;
  }
}
