body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #f8f9fa;
  /* Light background for the page */
}

/* Top Header Styles */
.top-header {
  background-color: #000;
  color: #fff;
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.top-header .header span {
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.top-header select {
  background-color: transparent;
  color: #fff;
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.top-header select option {
  background-color: #000;
  color: #fff;
}

/* Navbar Customization */
.navbar-brand {
  font-weight: 700;
  font-size: 1.75rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #db4444 !important;
}

.navbar-nav .nav-link.active {
  color: #db4444 !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  line-height: 1.8rem;
}

.dropdown-menu a {
  text-decoration: none;
  color: #333;
}

.dropdown-menu a:hover {
  color: #db4444;
  background-color: #f8f9fa;
}

/* Section Headings */
.section-header-line {
  background-color: #db4444;
  width: 1.3rem;
  height: 2.5rem;
  border-radius: 0.25rem;
}

.section-heading-text {
  color: #db4444;
  font-weight: bold;
  font-size: 1.1rem;
}

.main-section-title {
  font-weight: bold;
  font-size: 2.2rem;
}

/* Card Customization */
.card {
  border: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* 1:1 aspect ratio */
  overflow: hidden;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* For product images, use contain for full item visibility */
  padding: 1rem;
}

.card-title {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-weight: 600;
  color: #db4444;
}

.card-text span {
  color: #000;
  margin-left: 0.5rem;
  text-decoration: line-through;
  font-weight: normal;
}

.star-rating img {
  width: 20px;
  height: 16px;
  margin-right: 0.1rem;
  object-fit: contain;
  background-color: transparent;
  padding: 0;
}

/* Button Hover Effects (from previous updates) */
.btn {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-danger:hover {
  background-color: #c0392b !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(219, 68, 68, 0.4);
}

.btn-outline-light.text-danger:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #db4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Input Field Hover Effects (from previous updates) */
.form-control {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:hover {
  border-color: #db4444;
  box-shadow: 0 0 0 0.25rem rgba(219, 68, 68, 0.25);
}

.form-control:focus {
  border-color: #db4444;
  box-shadow: 0 0 0 0.25rem rgba(219, 68, 68, 0.25);
  outline: 0;
}

/* Footer Styles */
footer {
  background-color: #000;
  color: #fff;
  padding: 4rem 0;
}

footer h3 {
  font-weight: bold;
  margin-bottom: 1.5rem;
}

footer p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

footer .form-control {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

footer .form-control::placeholder {
  color: #ccc;
}

footer .form-control:focus {
  background-color: transparent;
  border-color: #db4444;
  box-shadow: none;
  color: #fff;
}

footer .social-icons img {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

footer .qr-code {
  max-width: 100px;
  height: auto;
}

footer .app-store-btn {
  max-width: 120px;
  height: auto;
}

.footer-subscribe .input-group {
  max-width: 250px;
}

.footer-subscribe .input-group-text {
  background-color: transparent;
  border: 1px solid #fff;
  border-left: none;
  color: #fff;
}

/* --- NEW: Toys page specific styles --- */
.home:hover{
  color: #db4444 !important;
}
.hero-toys {
  background: url("./utils/images/toys-hero-bg.jpg") no-repeat center center;
  /* Orange background with image */
  background-size: cover;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.hero-toys h1 {
  font-size: 3.8rem;
  font-weight: bold;
}

.hero-toys p {
  font-size: 1.5rem;
}

.toy-category-card {
  background-color: #fff;
  border: 1px solid #ffcc80;
  /* Light orange border */
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.1);
  /* Subtle orange shadow */
}

.toy-category-card:hover {
  transform: translateY(-5px) scale(1.03);
  /* Lift and slightly enlarge */
  box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
  /* More prominent shadow */
  background-color: #fff3e0;
  /* Very light orange background */
}

.toy-category-card img {
  max-width: 90px;
  /* Larger icon size for toys */
  height: auto;
  margin-bottom: 1rem;
}

.toy-category-card h5 {
  font-weight: bold;
  color: #e65100;
  /* Darker orange text */
}

.testimonial-carousel {
  background-color: #e7c4b3;
  /* Light orange background */
  padding: 4rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  margin-top: 3rem;
}

.testimonial-carousel .carousel-item {
  padding: 0 2rem;
}

.testimonial-carousel .testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  color: #424242;
  margin-bottom: 1.5rem;
}

.testimonial-carousel .author-name {
  font-weight: bold;
  font-size: 1.1rem;
  color: #e65100;
  /* Darker orange */
}

.testimonial-carousel .carousel-indicators button {
  background-color: #db4444;
  /* Theme color for indicators */
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  filter: invert(1) brightness(0.5);
  /* Make arrows visible on light background */
}

.product-category-heading {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero-toys h1 {
    font-size: 3rem;
  }

  .hero-toys p {
    font-size: 1.25rem;
  }

  .testimonial-carousel .testimonial-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-toys {
    min-height: 300px;
  }

  .hero-toys h1 {
    font-size: 2.2rem;
  }

  .hero-toys p {
    font-size: 1rem;
  }

  .toy-category-card img {
    max-width: 70px;
    /* Smaller icons on mobile */
  }

  .testimonial-carousel {
    padding: 2rem 1rem;
  }

  .testimonial-carousel .carousel-item {
    padding: 0 0.5rem;
  }
}
