:root {
  --primary-color: #00386e;
  --main-color: #033463;
  --para-color: #023261;
  --button-color: #ffa726;
  --second-bg-color: #ffd54f;
  --head-font: "Baloo 2", sans-serif;
  --para-font: "Poppins", sans-serif;
}

/* Product Section */
.product-detail-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 3rem 2rem;
  font-family: var(--para-font);
}

.product-image-viewer .main-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid var(--second-bg-color);
}

.thumbnail-list .thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail-list .thumbnail:hover,
.thumbnail-list .thumbnail.active {
  border-color: var(--button-color);
  transform: scale(1.05);
}

/* Product Info */
.product-info .product-title {
  font-family: var(--head-font);
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
}

.product-info .product-price {
  color: var(--button-color);
  font-size: 1.5rem;
  font-weight: 600;
}

.add-to-cart-btn {
  background: var(--button-color);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}
.add-to-cart-btn:hover {
  background: var(--main-color);
}

/* Learning Benefits */
.learning-benefits .section-heading {
  font-family: var(--head-font);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.benefit-card {
  background: var(--second-bg-color);
  border-radius: 20px;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card img {
  width: 60px;
  margin-bottom: 12px;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Tabs */
.custom-tab-nav .nav-link {
  font-weight: 600;
  color: var(--primary-color);
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  transition: all 0.3s ease;
  border-radius: 0;
}
.custom-tab-nav .nav-link.active {
  border-color: var(--button-color);
  color: var(--button-color);
}
.custom-tab-content {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .product-info .product-title {
    font-size: 1.5rem;
    text-align: center;
  }
  .product-info .product-price,
  .product-info .product-desc {
    text-align: center;
  }
  .add-to-cart-btn {
    display: block;
    margin: 0 auto;
  }
  .learning-benefits .section-heading {
    font-size: 1.4rem;
  }
  .benefit-card img {
    width: 50px;
  }
}

.product-title {
  font-family: var(--head-font);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
}

.age-badge {
  display: inline-block;
  background-color: var(--second-bg-color);
  color: var(--main-color);
  font-family: var(--head-font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 30px;
  margin-top: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-price {
  color: var(--button-color);
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 1.6rem;
}

.btn-add-cart,
.btn-buy-now {
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-family: var(--para-font);
}

.btn-add-cart {
  background-color: var(--button-color);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255,167,38,0.3);
}
.btn-add-cart:hover {
  background-color: var(--main-color);
  color: #fff;
  box-shadow: 0 3px 10px rgba(3,52,99,0.3);
}

.btn-buy-now {
  background-color: transparent;
  border: 2px solid var(--button-color);
  color: var(--button-color);
}
.btn-buy-now:hover {
  background-color: var(--button-color);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255,167,38,0.3);
}

.text-warning {
  color: #ffc107 !important;
  font-size: 1.2rem;
}
.section-image {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .product-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .product-price {
    font-size: 1.3rem;
    text-align: center;
  }

  .age-badge {
    display: block;
    margin: 10px auto 0;
  }


  .btn-add-cart,
  .btn-buy-now {
    width: 80%;
    text-align: center;
  }
}


  /* PRODUCT DETAIL PAGE STYLING */

  /* Product Section */
  .product-detail-section .product-title {
    font-family: var(--head-font);
    color: var(--primary-color);
    font-weight: 700;
  }

  .age-badge {
    background-color: var(--button-color);
    color: #fff;
    border-radius: 12px;
    padding: 3px 12px;
    font-size: 14px;
    font-weight: 600;
  }

  .product-price {
    color: var(--main-color);
    font-weight: 700;
  }

  .btn-add-cart {
    background-color: var(--button-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    transition: 0.3s ease;
  }

  .btn-add-cart:hover {
    background-color: #ff9800;
  }

  .btn-buy-now {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    transition: 0.3s ease;
  }

  .btn-buy-now:hover {
    background-color: var(--primary-color);
  }

  /* Offer Box */
  .offer-box {
    background-color: #e8f5ff;
    border: 2px dashed var(--main-color);
    border-radius: 15px;
    padding: 20px;
  }

  .offer-title {
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 10px;
  }

  .offer-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
  }

  .offer-list li {
    background: #fff;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--para-color);
    font-weight: 500;
  }

  .offer-note {
    font-size: 13px;
    color: #666;
  }

  /* Thumbnail Images */
  .thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s ease;
  }

  .thumb-img:hover {
    border-color: var(--button-color);
  }

  /* Product Highlights Section */
  .product-highlights-section {
    background-color: #fde7dc;
    padding: 60px 0;
  }

  .highlight-card {
    background: #fff;
    text-align: center;
    border-radius: 16px;
    padding: 25px 15px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .highlight-card:hover {
    transform: translateY(-5px);
  }

  .highlight-card img {
    max-width: 100px;
    margin-bottom: 15px;
  }

  .highlight-card h5 {
    color: var(--main-color);
    font-weight: 700;
    margin-bottom: 8px;
  }

  /* Easy to Use Section */
  .easy-to-use-section {
    background-color: #fff5f3;
    padding: 60px 0;
  }

  .easy-to-use-section .section-title {
    color: var(--main-color);
    font-weight: 700;
  }

  /* Big Learning Section */
  .big-learning-section {
    background-color: #fff;
    padding: 60px 0;
  }

  /* Related Products */
  .related-products-section {
    background-color: #fffdfb;
    padding: 60px 0;
  }

  .product-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .product-card:hover {
    transform: translateY(-5px);
  }

  .btn-addcart {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 6px 18px;
    font-size: 14px;
    transition: 0.3s ease;
  }

  .btn-addcart:hover {
    background-color: var(--primary-color);
  }

  /* Customer Reviews Section */
  .customer-review-section {
    background-color: #fff5f5;
    padding: 50px 0;
  }

  .btn-review {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 25px;
    font-weight: 600;
  }

  .btn-review:hover {
    background-color: var(--primary-color);
  }

  /* Responsive Adjustments */
  @media (max-width: 767px) {
    .highlight-card img {
      max-width: 80px;
    }

    .section-title {
      font-size: 20px;
    }

    .product-card {
      padding: 15px 10px;
    }
  }