/* Breadcrumb */

.breadcrumb-section {
  background-color: var(--primary-color);
  padding: 10px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.breadcrumb a { 
  color: #ffffff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.7);
}

/* Product Section */

.product-section.section-spacing {
  padding: 5% 0 0 0;
}
.product-image,
.product-info {
  width: 48%;
}
.product-image > img {
  width: 100%;
  max-height: 300px;
  min-height: 300px;
  object-fit: contain;
  margin-bottom: 30px;
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}


.product-image .more-images {
  width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 15px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.product-image .more-images::-webkit-scrollbar {
  height: 6px;
}

.product-image .more-images::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.product-image .more-images::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.product-image .more-images::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}
.product-image .more-images img{
  width: 100px;
  min-width: 100px;
  height: 80px;
  object-fit: contain;
  border: 2px solid var(--light-border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-image .more-images img:hover{
  border-color: var(--primary-color);
}
.product-image .more-images img.active {
  border-color: var(--primary-color);
}
.product-info h2{
  margin-bottom: 20px;
}
.price {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

/* .price .old-price {
  font-size: 20px;
  color: var(--light-text-color);
  text-decoration: line-through;
  margin-left: 10px;
} */

.features {
  border-top: 1px solid var(--light-border-color);
  padding-top: 20px;
  margin-bottom: 30px;
  min-height: 200px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* .buttons .secondary-btn {
  border: 2px solid var(--light-border-color);
}

.buttons .secondary-btn:hover {
  border-color: var(--primary-color);
}

.buttons .secondary-btn:hover a {
  color: var(--primary-color);
} */

/* Tabs */

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 20px 30px;
  cursor: pointer;
  color: var(--body-text-color);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  border-radius: unset;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

#description p{
  margin-bottom: 30px;
}
#description p:last-of-type{
  margin-bottom: 0px;
}
#description h3,
#description h4{
  margin-bottom: 20px;
}

#specs h3 {
  margin-bottom: 20px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.spec-item {
  background: var(--bg-2-color);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.spec-item strong {
  color: var(--heading-text-color);
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* .docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.doc-item {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  border-top: 4px solid var(--secondary-color);
}

.download-link {
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-link:hover {
  text-decoration: underline;
}

.download-link::before {
  content: "⬇";
} */


/* responsive css */

@media (max-width: 1200px) {
  /* breadcrumb */

  .breadcrumb-section {
    padding: 10px 5%;
  }

  /* product section */

  .product-section.section-spacing {
    padding: 6% 5% 0 5%;
  }
}

@media (max-width: 770px) {
  /* breadcrumb */

  .breadcrumb-section {
    padding: 10px 6%;
  }

  /* product section */

  .product-section.section-spacing {
    padding: 8% 6% 0 6%;
  }
  .product-image{
    width: 100%;
    margin-bottom: 30px;
  }
  .product-image .more-images img {
    width: 80px;
    min-width: 80px;
    height: 65px;
  }
  .product-info{
    width: 100%;
  }
  .price {
    font-size: 24px;
  }

  .price .old-price {
    font-size: 18px;
  }

  /* tabs */

  .tab-buttons {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 15px 20px;
  }
}

@media (max-width: 425px) {

  /* breadcrumb */

  .breadcrumb-section {
    padding: 10px 5%;
  }

  /* product section */

  .product-section.section-spacing {
    padding: 10% 5% 0 5%;
  }
  .buttons .primary-btn,
  .buttons .secondary-btn {
    width: 100%;
  }
  .price {
    font-size: 20px;
  }

  .price .old-price {
    font-size: 16px;
  }

  /* tabs */

  .tab-btn {
    font-size: 14px;
  }
}
