/*Layout */
.product-page {
  padding: 30px 0 80px;
  background: #fff;
}

.product-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}


/*Main Content Boxes*/
.content {
  flex: 1;
  min-width: 280px;
}

.box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 26px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
}


/*Overview Section*/
.overview-layout {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.overview-img {
  width: 320px;
  max-width: 100%;
  text-align: center;
}

.overview-img img {
  width: 70%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.overview-img img {
  transition: transform 0.3s ease;
}

.overview-img img:hover {
  transform: scale(1.05);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2d2d2;
}

.dot.active {
  background: #008996;
}

.overview-text {
  flex: 1;
  min-width: 280px;
}

.overview-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.overview-text p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}

.overview-text ul {
  margin: 12px 0 18px 18px;
  color: #333;
  line-height: 1.6;
}

.colors img {
  width: 70%;
  max-width: 520px;
  display: block;
  margin-top: 10px;
}

.color-labels {
  max-width: 520px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.2;
  color: #333;
}

.color-labels span {
  display: block;
  width: 16.6%;
}


/*Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}

thead th {
  background: #008996;
  color: #fff;
  font-weight: 500;
  text-align: left;
  font-size: 14px;
  padding: 12px 14px;
}

tbody td {
  border-top: 1px solid #eee;
  padding: 12px 14px;
  font-size: 14px;
  color: #222;
  vertical-align: top;
}

tbody tr:hover {
  background: #f7fbfb;
}


/*Application Images */
.app-images {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.app-images img {
  width: 32%;
  min-width: 200px;
  border-radius: 10px;
  padding: 10px;
}

.app-images img {
  transition: transform 0.3s ease;
}

.app-images img:hover {
  transform: scale(1.06);
}


/*Style Section*/
.style-item {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.style-item.reverse {
  flex-direction: row-reverse;
}

.style-info {
  flex: 1;
  min-width: 260px;
}

.style-info h3 {
  font-size: 28px;
  color: #008996;
  margin-bottom: 6px;
  font-weight: 900;
}

.style-info h4 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #222;
  font-weight: 600;
}

.style-info p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 14px;
}

.style-img {
  width: 360px;
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
}

.style-item.reverse .style-img {
  justify-content: flex-start;
}

.style-img img {
  width: 55%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.divider {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 22px;
}


/*button*/
.product-page .btn {
  display: inline-block;
  background: #008996;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
}

.product-page .btn:hover {
  background: #58cdd8;
}

/*Responsive*/
.product-page img {
  max-width: 100%;
  height: auto;
}

/*ablet & below*/
@media screen and (max-width: 992px) {

  .sidebar {
    padding: 12px 12px;
    border-radius: 10px;
  }

  .sidebar h2 {
    margin-bottom: 10px;
  }

  .sidebar ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .sidebar li {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .sidebar a {
    display: inline-block;
    padding: 8px 12px;
  }

  .sidebar ul::-webkit-scrollbar {
    height: 0;
  }

  table {
    min-width: 720px;
  }
}

/*Phone */
@media screen and (max-width: 768px) {

  .product-page {
    padding: 20px 0 60px;
  }

  .box {
    padding: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .overview-img img {
    width: 90%;
  }

  .app-images img {
    min-width: 160px;
    width: 48%;
  }

  .style-img {
    justify-content: center;
  }

  .style-img img {
    width: 75%;
  }
}

/*Small phone*/
@media screen and (max-width: 520px) {

  .box {
    padding: 14px;
  }

  .app-images img {
    width: 100%;
    min-width: 0;
  }

  .color-labels {
    flex-wrap: wrap;
    gap: 6px;
  }

  .color-labels span {
    width: 33.33%;
  }

  .product-page .btn {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
  }
}