/* product-detail-refactor.css */

.zs-breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: #4285f4;
}

.zs-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.zs-breadcrumb a:hover {
  text-decoration: underline;
}

/* Product Hero */
.zs-product-hero {
  padding: 40px 0;
}

.zs-product-hero-inner {
  display: flex;
  gap: 40px;
}

.zs-product-gallery {
  width: 40%;
}

.zs-product-main-img {
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #eee;
  overflow: hidden;
  position: relative;
  cursor: crosshair;
}

.zs-product-main-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.zs-product-main-img:hover img {
  transform: scale(1.5);
}

.zs-product-thumbnails {
  display: flex;
  gap: 10px;
}

.zs-product-thumb {
  width: calc(25% - 7.5px);
  cursor: pointer;
  border: 1px solid transparent;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.zs-product-thumb.is-active,
.zs-product-thumb:hover {
  opacity: 1;
  border-color: #4285f4;
}

.zs-product-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.zs-product-info {
  width: 60%;
}

.zs-product-title {
  font-size: 29px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 20px;
  line-height: 1.3;
}

.zs-product-short-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.zs-product-short-desc ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.zs-product-short-desc li {
  margin-bottom: 10px;
}

.zs-product-additional {
  font-size: 19px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 20px;
}

.zs-product-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.zs-btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.zs-btn-whatsapp:hover {
  background-color: #1ebe57;
}

/* Product Content */
.zs-product-content-section {
  padding: 40px 0;
}

.zs-divider {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.zs-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #0c0d0e;
  margin-left: 20px;
}

.zs-divider h2 {
  font-size: 29px;
  font-weight: 600;
  color: #0c0d0e;
  margin: 0;
}

.zs-product-content {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.zs-product-content h2 {
  font-size: 19px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 15px;
}

.zs-product-content p {
  margin-bottom: 20px;
}

.zs-product-content h4.zs-spec-title {
  --s: 20px;
  line-height: 1.8;
  padding-inline: calc(var(--s) + .3em);
  clip-path: polygon(0 0, calc(100% - var(--s)) 0, 100% 50%, calc(100% - var(--s)) 100%, 0 100%, var(--s) 50%);
  background: #06458C;
  width: fit-content;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin: 30px 0 15px;
}

.zs-product-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.zs-product-content table th,
.zs-product-content table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.zs-product-content table tr:first-child td {
  background-color: #0b436a;
  color: #ffffff;
}

.zs-product-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 15px;
}

.zs-product-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.zs-product-content li {
  margin-bottom: 10px;
}

.zs-product-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.zs-product-content .double-img, .zs-product-content .text-img {
  display: flex;
  align-items: center;
}

.zs-product-content .third-img {
  display: flex;
}

.zs-product-content .double-img p, .zs-product-content .text-img p, .zs-product-content .third-img p {
  flex: 1;
}

.zs-product-content .text-img {
  gap: 40px;
  align-items: stretch;
}

.zs-product-content .text-img .text, .zs-product-content .text-img .text2 {
  background-color: #F6F6F6;
  display: flex;
  align-items: center;
  padding: 20px;
  flex: 1;
}

.zs-product-content .text-img .text2 {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.zs-product-content .third-img p {
  text-align: center;
}

.zs-product-content .third-img p img {
  margin: 0 auto 20px auto;
}

@media screen and (max-width: 768px) {
  .zs-product-content .text-img, .zs-product-content .third-img {
    display: block;
  }
}


/* Related Products */
.zs-related-products {
  padding: 40px 0 80px;
}

.zs-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.zs-related-item {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.zs-related-item a {
  text-decoration: none;
  display: block;
  color: inherit;
}

.zs-related-item-img {
  width: 100%;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.zs-related-item-img img {
  width: 100%;
  height: auto;
  display: block;
}

.zs-related-item:hover .zs-related-item-img {
  transform: translateY(-5px);
}

.zs-related-item-title {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zs-related-item .zs-btn {
  font-size: 14px;
  padding: 8px 15px;
  background-color: #4285f4;
  color: #fff;
  align-self: flex-start;
  margin-top: auto;
  border: none;
}

.zs-related-item .zs-btn:hover {
  background-color: #3367d6;
}

@media (max-width: 1024px) {
  .zs-product-hero-inner {
    flex-direction: column;
  }
  .zs-product-gallery,
  .zs-product-info {
    width: 100%;
  }
  .zs-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .zs-related-grid {
    grid-template-columns: 1fr;
  }
  .zs-product-actions {
    flex-direction: column;
  }
  .zs-product-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
