/* ============================================
   SINGLE PRODUCT PAGE STYLES
   ============================================ */

/* ============================================
   WOOCOMMERCE NATIVE OVERRIDES - IMPORTANT
   ============================================ */
.woocommerce-breadcrumb {
  margin-top: 24px !important;
}

.single-product-page {
  padding: 0;
}

/* ============================================
   PRODUCT HERO SECTION
   ============================================ */
.product-hero {
  /* padding: 36px 0; */
  background: #fff;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.product-gallery-main {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img{
    object-fit: cover;
}


.main-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.thumbnail-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.thumbnail-item:hover {
  border-color: var(--color-primary);
  opacity: 0.8;
}

.thumbnail-item.active {
  border-color: var(--color-primary);
}

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

/* Product Info */
.product-info {
  padding: 20px 0;
  
}

.product-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 20px;
  line-height: 1.2;
}

.product-short-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.product-short-description p {
  margin-bottom: 12px;
  text-align: left;
  line-height: 150%;
}

.product-cta .btn-large {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
}

/* ============================================
   PARAMETERS SECTION
   ============================================ */
.product-parameters {
  /* background: #f9f9f9; */
}


.section-padding {
  padding: 0px 0;
}

.section-title {
  font-size: 64px;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 40px;
  text-align: center;
}

.parameters-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.parameters-table {
  width: 100%;
  border-radius:0 ;
  border-collapse: collapse;
  border: 1px solid var(--color-stroke);
}


.parameter-header {
  background-color: var(--color-stroke);
  color: var(--color-black);
  font-family: var(--font-heading);
  font-size: 32px;
}

.parameter-header td {
  font-size: 20px !important;
}


.parameters-table tr {
  border-bottom: 1px solid var(--color-stroke);
}

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

.parameters-table td {
  padding: 12px 24px;
  font-size: 14px;
}

.parameter-name {
  font-weight: 500;
  color: var(--color-black);
  width: 40%;
  /* background: var(--color-primary); */
}

.parameter-value {
  color: var(--color-black);
  width: 60%;
  opacity: 0.8;
}

.parameters-table tbody tr:nth-child(odd):not(.parameter-header) {
  background-color: #fffcf6;
}

.no-parameters {
  text-align: center;
  color: #999;
  font-size: 16px;
}

/* ============================================
   APPLICATIONS SECTION
   ============================================ */
.product-applications {
  background: #fff;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.application-item {
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.application-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.application-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.application-caption {
  padding: 12px;
  font-size: 14px;
  color: #666;
  text-align: center;
  background: #fff;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .product-hero-grid {
    gap: 40px;
  }
  
  .product-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 40px 0;
  }
  
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-gallery {
    position: relative;
    top: 0;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .application-image {
    height: 180px;
  }
  
  .parameters-table td {
    padding: 16px;
    font-size: 14px;
  }
  
  .parameter-name {
    width: 35%;
  }
  
  .parameter-value {
    width: 65%;
  }
}

@media (max-width: 480px) {
  .product-hero {
    padding: 30px 0;
  }
  
  .product-title {
    font-size: 24px;
  }
  
  .product-cta .btn-large {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
  }
  
  .thumbnail-item {
    width: 60px;
    height: 60px;
  }
  
  .faq-question {
    font-size: 16px;
    padding: 16px 20px;
  }
  
  .parameter-name {
    padding-bottom: 8px;
    /* border-bottom: 1px solid #e0e0e0; */
  }
  
  .parameter-value {
    padding-top: 8px;
    /* background: #fff; */
  }
}

/* ============================================
   YOUTUBE VIDEO SECTION
   ============================================ */
.product-youtube-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
