@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins-VariableFont_wght.otf);
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.5;
}
img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-opened {
  width: 100%;
  padding: 0;
}

/* header styles */
.header-top {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  max-height: 55px;
  width: auto;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  font-size: 15px;
  transition: 0.2s;
}

.nav-menu a:hover {
  color: #c00;
}

/* product detail area */
.breadcrumb {
  padding: 16px 0;
  background: #f9f9f9;
  font-size: 14px;
  color: #666;
}

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

.breadcrumb a:hover {
  color: #c00;
}

.product-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 40px 0;
}

.product-gallery {
  flex: 1.2;
  min-width: 280px;
}

.main-image {
  border: 1px solid #e0e0e0;
  background: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}

.main-image img {
  max-width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

.thumb-list {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.thumb-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.thumb-list img.active {
  border-color: #c00;
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.2);
}

.product-info {
  flex: 1;
  min-width: 300px;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.product-brief {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  border-left: 3px solid #c00;
  padding-left: 15px;
}

.product-price {
  font-size: 32px;
  font-weight: 700;
  color: #c00;
  margin: 20px 0;
  background: #fef5f5;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
input, textarea {
  outline: none !important;
}
.product-price small {
  font-size: 16px;
  font-weight: normal;
  color: #555;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.specs-table th,
.specs-table td {
  border: 1px solid #eee;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.specs-table th {
  background: #f8f8f8;
  font-weight: 600;
  width: 35%;
}

.btn-inquire {
  background: #c00;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
  margin: 20px 0 10px;
  display: inline-block;
}

.btn-inquire:hover {
  background: #a00;
}

/* consultation form */
.consult-form {
  background: #f7f7f7;
  padding: 30px;
  border-radius: 16px;
  margin: 40px 0;
}

.consult-form h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #111;
}

.form-row {
  margin-bottom: 20px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}

.form-row textarea {
  min-height: 90px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
  font-size: 14px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-submit {
  background: #c00;
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
}

/* description / tabs style */
.desc-tabs {
  margin: 50px 0;
}

.desc-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 2px solid #ddd;
}

.tab-btn {
  background: #f0f0f0;
  border: none;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.tab-btn.active {
  background: #1c4587;
  color: #fff;
  border-bottom: 2px solid #1c4587;
}

.tab-content {
  padding: 30px 20px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-top: none;
}

.tab-pane {
  display: none;
}

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

.specs-grid table {
  width: 100%;
  border-collapse: collapse;
}

.specs-grid td,
.specs-grid th {
  border: 1px solid #ddd;
  padding: 10px;
}

.related-products {
  margin: 40px 0;
}

.related-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

.related-item {
  text-align: center;
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 12px;
  transition: 0.2s;
}

.related-item img {
  max-width: 100%;
  height: 160px;
  object-fit: contain;
}

.related-item a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  display: block;
  margin-top: 12px;
}

/* footer */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 3fr;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 180px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-col a {
  color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  transition: 0.3s;
}
.footer-col ul {
  list-style-type: none;
}
.footer-col a:hover {
  color: #c00;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  margin-top: 30px;
  font-size: 13px;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col:nth-child(3) {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .product-wrap {
    flex-direction: column;
  }
    .product-gallery, .product-info {
      min-width: auto;
      flex: auto;
    }
  .nav-menu ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-inner {
    flex-direction: column;
    gap: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
    .footer-col:nth-child(3) {
      grid-column: span 1;
    }
}

.specs-grid table,
.product-description-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.specs-grid td,
.specs-grid th,
.product-description-table td,
.product-description-table th {
  border: 1px solid #ddd;
  padding: 10px 12px;
  vertical-align: top;
  font-size: 16px;
}

.specs-grid tr:first-child td,
.specs-grid tr:first-child th,
.product-description-table tr:first-child td,
.product-description-table tr:first-child th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.desc-features-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow-x: auto;
}

.desc-features-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 16px;
}

.tab-pane p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.tab-pane h3 {
  margin: 20px 0 15px;
  font-size: 20px;
}

@media (max-width: 768px) {

  .specs-grid td,
  .specs-grid th,
  .product-description-table td,
  .product-description-table th,
  .desc-features-table td {
    font-size: 13px;
    padding: 6px 8px;
    word-break: break-word;
  }
  .specs-grid {
    overflow-x: auto;
  }

  .specs-grid table {
    min-width: 600px;
  }
}
.docs {
  padding-top: 50px;
  word-break: break-word;
}
.docs h1 {
  text-align: center;
  margin-bottom: 20px;
}
.docs a {
  color: #1c4587;
  text-decoration: none;
}
.docs p {
  margin-bottom: 16px;
}