/* Responsive Typography */
h1 {
  font-size: 1.8rem;
  color: rgb(175, 43, 87);
  text-shadow: 0 2px 5px ;
}

.h2-cards {
  font-size: 1.7rem;
  color: #cb495c;
  text-align: center;
  padding-top: 50px;
  text-shadow: 0 2px 5px ;
}

.nav-page:hover {
  color: #ff6b81 !important;
}

/* Responsive Back Button */
.btn-back {
  display: block;
  margin: 30px auto;
  width: 160px;
  height: 50px;
  padding: 8px;
  border: none;
  border-radius: 16px;
  background-color: #ff6b81;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: #d03e54;
  transform: scale(1.05);
}

/* Navbar spacing */
body {
  padding-top: 60px;
}

section.Products {
  padding-bottom: 60px;
}

/* Icons in navbar */
a.cart-link {
  color: palevioletred;
  border: 1px solid palevioletred;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

a.cart-link:hover {
  color: white !important;
  background-color: palevioletred;
}

/* Cards */
.card {
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Add to Cart Button */
.cart-button {
  background-color: #ff6b81 !important;
  color: white !important;
  border: none;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s ease;
}

.cart-button:hover,.read-btn:hover {
  background-color: #cd4a5d !important;
  transform: scale(1.05);
}

/* Ensure text doesn't overflow */
.card-title {
  font-size: 1rem;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
h1,h3,h5,h2{
    text-shadow: 0 2px 5px ;
}