body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fff7f8;
  color: #3a2b2e;
  margin: 0;
  padding: 0;
}

header {
  background-color: #f4d9e1;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  font-size: 2rem;
  margin: 0.5rem 1rem;
}

nav {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #3a2b2e;
  font-weight: bold;
}

.cart-icon {
  font-size: 1.5rem;
  margin-left: 1rem;
  cursor: pointer;
  position: relative;
  user-select: none;
}

#cart-count {
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
  vertical-align: top;
  position: absolute;
  top: -8px;
  right: -8px;
  user-select: none;
}

.filter-buttons {
  text-align: center;
  margin: 2rem 0 1rem 0;
}

.filter-buttons button {
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #9b4a7c;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.card {
  background: #ffeef3;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  width: 250px;
  display: inline-block;
  vertical-align: top;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.card h3 {
  margin-top: 0;
}

.card button {
  background-color: #4a90e2;
  color: white;
  padding: 0.5rem;
  width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card button:hover {
  background-color: #357abd;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(155, 74, 124, 0.4);
}

.hidden {
  display: none;
}

footer {
  text-align: center;
  background: #f4d9e1;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

#final {
  margin-top: 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #9b4a7c;
}

/* Modal estilos */
#cart-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

#cart-modal.show {
  display: flex;
}

#cart-content {
  background: white;
  border-radius: 8px;
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

#cart-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #9b4a7c;
  text-align: center;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.4rem;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item span {
  flex: 1;
}

.remove-btn {
  background-color: #e74c3c;
  border: none;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

#close-cart {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  user-select: none;
}

#close-cart:hover {
  color: #9b4a7c;
}

#cart-footer {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
  color: #9b4a7c;
}

#send-order-btn {
  background-color: #4a90e2;
  color: white;
  border: none;
  width: 100%;
  padding: 0.7rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}

#combos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}
