/* PAGE WIDTH */
.custom-single-product,
.product-main-row,
.product-tabs,
.related-products,
.product-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px; /* Add padding to prevent overflow */
  box-sizing: border-box;
}

/* BREADCRUMB */
.product-breadcrumb {
  margin: 20px 0;
  font-size: 16px;
  font-weight: 700;
}

/* MAIN ROW */
.product-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.5fr;
  gap: 20px;
  padding: 40px 15px;
  box-sizing: border-box;
}

.product-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* CONTENT */
.product-content h1 {
  font-size: 22px;
	font-weight: 600;
  margin: 0px;
}

.product-excerpt p {
  margin: 0px;
  font-size: 16px;
  color: #222222;
}

.product-sku {
  color: #222;
  margin: 0;
  text-align: left;
}

.product-price-wrapper {
  margin: 0px;
}

.product-price-wrapper .product-price {
    font-size: 34px;
    font-weight: 600;
	color: #104FA9;
}

.product-btn-wrapper {
  margin-bottom: 20px;
}

.product-btn-wrapper .btn {
  margin: 0px;
}

.product-call-line {
  font-size: 16px;
  margin: 0px;
  color: #222222;
}

.product-call-line a{
  font-weight: 600;
  text-decoration: none;
  color: #104FA9;
}


.product-call-line strong{
  font-weight: 600;
  color: #104FA9;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
	text-align: center;
}

.btn-call {
  background: #272727;
	
}
.btn-quote {
  background: #104fa9;
}

.btn:hover{
  color: #fff;
}

/* CUSTOM FIELDS TABLE */
.custom-product-table {
  margin: 0;
  overflow-x: auto; /* prevent table overflow */
}

.custom-product-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

.custom-product-table th,
.custom-product-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

/* .custom-product-table th {
  background: #f5f5f5;
} */

/* COLUMN COMMON */
.product-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
	font-family: 'Poppins', sans-serif;
}

/* INFO BLOCKS COLUMN */
.product-info {
  justify-content: flex-start;
  height: fit-content;
  padding: 20px 10px;
  border-radius: 6px;
  gap: 12px;
  background-color: #437ccd0f;
	font-family: 'Poppins', sans-serif;
}

/* INFO BLOCK */
.info-block {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px 0;
}

.info-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.info-text h3 {
  font-size: 16px;
  margin: 0px;
}

.info-text p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* TABS */
.product-tabs {
  margin: 60px auto;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap; /* wrap tabs on small screens */
  border-bottom: 2px solid #eee;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.tab-nav li {
  padding: 12px 20px;
  cursor: pointer;
	    font-size: 17px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.tab-nav li.active {
  border-bottom: 3px solid #104fa9;
  color: #104fa9;
	
}

.tab-content {
  display: none;
  padding: 20px 0;
}

.tab-content.active {
  display: block;
}

/* RELATED PRODUCTS (no slider) */
.related-products {
  margin: 60px auto;
  overflow: hidden; /* prevent scroll */
}

.related-products .related-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid #c5c5c5;
}

.related-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.related-card h4 {
  font-size: 16px;
  margin: 0;
  color: #222;
}

.related-card h4:hover {
  color: #000;
}

/* ===============================
   PRODUCT GALLERY FIX
================================ */
.product-gallery {
  width: 100%;
  overflow: hidden;
}

.woocommerce-product-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.woocommerce-product-gallery__wrapper {
  width: 100%;
}

.woocommerce-product-gallery__image {
  width: 100%;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* THUMBNAILS */
.flex-control-thumbs {
  display: flex !important;
  gap: 10px;
  margin-top: 12px;
  list-style: none;
  padding: 0;
}

.flex-control-thumbs li {
  width: 140px;
  flex: 0 0 auto;
  background: none !important;
  text-indent: 0 !important;
  line-height: normal !important;
  border: 2px solid #c5c5c5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.flex-control-thumbs li img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  display: block;
}

/* ===============================
   HIDE FLEXSLIDER CONTROLS (numbers + arrows)
================================ */

/* Hide prev / next arrows */
.woocommerce-product-gallery .flex-direction-nav {
  display: none !important;
}

/* Hide paging dots / numbers */
.woocommerce-product-gallery .flex-control-paging {
  display: none !important;
}

/* Extra safety: hide text numbers inside thumbs */
.flex-control-thumbs li a {
  text-indent: -9999px;
  overflow: hidden;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .related-products .related-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .product-main-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .product-main-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .product-main-row {
    grid-template-columns: 1fr;
  }
  .info-block {
    flex-direction: row;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .related-products .related-wrapper {
    grid-template-columns: 1fr;
  }
}
