
.product img:hover {
    transform: translateY(1px) scale(1.04);
    box-shadow: 0 8px 20px rgba(252, 252, 252, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #eeeded;
  display: block;
}

.header {
  background-color: #ffc0cb;
  padding: 35px;
  text-align: center;
  font-weight: bold;
  color: #484949;
  font-size: 20px;
}

.header img {
    width: 250px;
    height: 150px;
    object-fit: contain;
    margin-top: -50px;
    margin-right: 1300px;

}

.search-bar {
  display: flex;
  justify-content: center;
  margin: 15px;
  margin-top: -100px;
}

.search-bar input {
  width: 50%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
}

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu button {
  background: #ffc0cb;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.menu button:hover {
  background: #ff99b3;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 5px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex-grow: 1;
  margin-top: 10px;
  width: 100%;
}

.product h3, .product p {
  margin: 5px 0;
  text-align: center;
}

.cart-btn {
  padding: 10px 20px;
  background-color: #ffc0cb;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-top: auto;
}

.cart-btn:hover {
  background-color: #ff99b3;
}

.cart-toggle {
  position: fixed;
  top: 50px;
  right: 50px;
  background-color: transparent;
  border: 20px;
  padding: 10px 15px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  z-index: 20;
}

.cart-toggle img{
    width: 45px;
    height: 45px;
}

#cartCount{
    color: #d6287f;
    margin-top: -100px;
}

.cart {
  position: fixed;
  top: 0;
  right: 0px;
  width: 350px;
  height: 0%;
  background-color: #ffc0cb;
  box-shadow: -2px 0 5px #ff99b3;
  padding: 10px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10;
}

.cart.open {
  transform: translateX(0);
  background-color: #fffdfd;
  height: 100%;
}

.cart h2 {
  margin-top: 150px;
  text-align: center;
}

.cart-item {
  border-bottom: 2px solid #d6287f;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  
}

.quantity-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantity-buttons button {
  padding: 5px 10px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  background-color: #ffc0cb;
  border-radius: 5px;
  cursor: pointer;
}

.quantity-buttons span {
  font-weight: bold;
  width: 30px;
  text-align: center;
}

.cart-total {
  font-weight: bold;
  margin: 15px 0;
  text-align: center;
}

.finalizar, .limpar {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: bold;
}

.finalizar {
  background-color: #4caf50;
  color: #fff;
}

.limpar {
  background-color: #ff4d4d;
  color: #fff;
}

@media (max-width: 768px) {
  .cart {
    width: 70%;
    transform: translateX(100%);
  }
  .header img{
    display: block;
    width: 120px;
    height: 100px;
    margin-left: 10px;
    margin-top: -15px;
  }
  .cart-toggle{
    display: block;
    margin-top: 15px;
    margin-right: -45px;
  }
  .header {
  background-color: #ffc0cb;
  padding: 30px;
  margin-left: -10px;
  font-size: 15px;
  margin-top: -10px;
}

.search-bar{
    margin-top: -10px;
}
.cart-item {
  font-size: 16px;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #eeeded;
}

}
