* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background:  linear-gradient(90deg, #CF2F2C 81%, #691816 100%);;
    padding: 20px;
  }
  
  .logo {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .logo img {
    height: 80px;
  }
  
  .search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .search-bar input {
    width: 60%;
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid #ccc;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .products {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  
  .product {
    background: #fff;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }
  
  .product img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
  }
  
  .product p {
    font-size: 18px;
    color: #333;
    font-weight: 500;
  }
  .product p:hover{
    color: #CF2F2C;
  }
  
  .product:hover {
    background: #f0f0f0;
    color: #CF2F2C;
    border-color: #CF2F2C;
    transform: scale(1.05);
}
.main_button{
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.main_button:hover {
    background: #f0f0f0;
    color: #CF2F2C;
    border-color: #CF2F2C;
    transform: scale(1.05);
}

#open-cart-btn:hover {
  color: #666;
}
.add-to-cart {
  background: #111;
  color: #fff;
  padding: 0.6rem 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.add-to-cart:hover {
  background: #333;
}
.cart {
  position: fixed;
  top: 80px;
  left: 20px;
  background: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border-radius: 10px;
  width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 3000;
  display: none;
  flex-direction: column;
}
#cart-items {
  list-style: none;
  margin-bottom: 1rem;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 40vh;
  padding-right: 0.5rem;
}
#cart-items li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0.1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.cart-item-name {
  flex-grow: 1;
  margin-right: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  margin-right: 0.5rem;
  color: #666;
}
#close-cart,
#checkout-btn {
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}
#close-cart {
  background: #bbb;
  color: #fff;
}

#close-cart:hover {
  background: #999;
}

.add_to_cart {
  padding: 10px 10px;
  
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, rgb(249, 249, 249), rgb(248, 176, 176));
  border-radius: 30px;
  color: rgb(15, 15, 15);
  font-weight: 600;
  font-size: 0.9em;
  font-family: "Martian Mono", monospace;
  border: 1px solid grey;
  cursor: pointer;
  transition-duration: .2s;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);
}