* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

:root {
  --body: #667085;
  --primary-color: #001b3d;
  --secondary-color: #087443;
  --accent-color: #f2b544;
  --main-bg: #f7f9f8;
  --heading-color: #102033;
  --second-text: #667085;
  --border-color: #e4e7ec;
  --success-green: #12b76a;
  --error-red: #d92d20;
  --warning-color: #f79009;
  --icon-color: #fff;
  --icon-hover-bg: #12b76a;
  --button-bg: #087443;
  --white-text-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
}

button,
input,
select,
option,
optgroup {
  outline: none;
  border: none;
}

/*  */

.breadcrumb {
  padding: 20px 100px;
}

.breadcrumb a {
  color: #333;
  text-decoration: none;
  transition: color 0.4s ease;
}

.breadcrumb a:hover {
  color: var(--secondary-color);
}

/*  */

.product-details-layout {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 20px 100px;
}

.product-gallery,
.product-info {
  width: 50%;
}

.product-main-image img {
  width: 550px;
  height: 400px;
  border-radius: 16px;
  /* object-fit: cover; */
}

.product-thumbnail-list {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.product-thumbnail-list img {
  width: 100px;
  height: 60px;
  object-fit: fill;
  cursor: pointer;
}

/*  */
.product-category h5 {
  font-weight: 400;
  font-size: 16px;
  color: #444;
}

.product-title h1 {
  font-size: 42px;
}

.product-meta p {
  color: #444;
}

.product-rating,
.product-price,
.checkout-button {
  margin-top: 20px;
}

.product-rating i {
  color: #fbbf24;
}

.product-price h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
}

.checkout-button a {
  background-color: var(--secondary-color);
  color: var(--white-text-color);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 28px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.checkout-button a:hover {
  background-color: var(--icon-hover-bg);
}

@media (max-width: 480px) {
  .breadcrumb {
    padding: 20px;

    font-size: 14px;
  }

  .product-details-layout {
    flex-direction: column;
    padding: 20px;
  }

  .product-gallery,
  .product-info {
    width: 100%;
    box-sizing: border-box;
  }

  .product-main-image img {
    width: 340px;
    height: 425px;
  }

  .product-thumbnail-list {
    margin-top: 10px;
  }

  .product-thumbnail-list img {
    width: 76px;
    height: 50px;
  }

  .product-info {
    margin-top: 50px;
  }

  .product-title h1 {
    font-size: 32px;
    line-height: 1.1em;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .product-meta p {
    font-size: 14px;
  }

  .product-rating span {
    font-size: 14px;
  }

  /* .checkout-button {
    width: 300px;
  } */

  section .product-details {
    padding: 20px;
    margin-top: 50px;
  }

  section .description-intro h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .product-description ul li,
  .product-description ol li,
  .product-specifications li {
    font-size: 14px;
    margin-left: 10px;
  }

  .product-specifications h4,
  .product-features h4,
  .product-highlights h4 {
    margin-bottom: 10px;
  }

  .reviews .reviews-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .reviews .review-form {
    width: 340px;
  }
}

/*  */

.product-details {
  padding: 20px 100px;
  margin-top: 100px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.product-tabs {
  margin-bottom: 20px;
}

.product-tabs .active {
  background-color: var(--primary-color);
}

.product-tabs button {
  background-color: var(--secondary-color);
  color: var(--white-text-color);
  padding: 10px;
  cursor: pointer;
}

.description-intro,
.description-content,
.product-specifications,
.product-features,
.product-highlights {
  margin-bottom: 20px;
}

.description-intro h3 {
  font-size: 24px;
}

.product-specifications h4,
.product-features h4,
.product-highlights h4 {
  font-size: 20px;
}

.product-description ul li,
.product-description ol li {
  color: #333;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.customer-review {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  /* display: flex;
  flex-direction: column;
  gap: 20px; */
}

.reviewer-avatar {
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.reviewer-name {
  font-size: 18px;
}

.review-meta span {
  font-size: 12px;
  margin: 10px 0;
}

.review-form {
  margin-top: 100px;
  width: 600px;
  background-color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
}

.review-form i {
  color: #fff;
  font-size: 28px;
}

.review-form form {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 20px;
  margin-top: 20px;
}

.review-form form input,
textarea {
  background-color: var(--main-bg);
  border: none;
  outline: none;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  resize: none;
}

.review-form form textarea {
  height: 100px;
}

.review-form form button {
  background-color: var(--secondary-color);
  color: var(--white-text-color);
  padding: 10px;
}
