*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
.navbar{
    background-color: rgb(247, 247, 247);
}
.btn-login:hover{
    background-color: blue !important;
    color: white !important;
    border: none;
}
.btn-register:hover{
    background-color: rgb(3, 175, 3) !important;
    color: white !important;
    border: none;
}
.btn-search:focus,.btn-login:focus{
    outline: 4px solid rgb(0, 0, 255,.3) !important;
}
.btn-register:focus{
    outline: 4px solid rgb(0, 255, 0,.3) !important;
}
.product-img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.product-card:hover{
    transform: scale(1.002) translateY(-10px);
    transition: .3s ease-in-out;
    box-shadow: 0px 5px 10px rgb(128, 128, 128,.3);
    border: 2px solid rgb(136, 205, 254) !important;
}
.product-card{
    overflow: hidden;
    width: 30%;
}
.card-body h3{
    font-size: 1.4rem;
}
.card-button:hover{
    background-color: blue;
}
.card-button{
  width: 180px;
}
.form-login,.form-register{
    width: 70%;
    box-shadow: 2px 2px 5px rgb(128, 128, 128,.1),
    -2px -2px 5px rgb(128, 128, 128,.1);
    background-color: rgba(231, 231, 231, 0.2);
}
.login-link,.register-link{
    text-decoration: none;
}
.login-link:hover,.register-link:hover{
text-decoration: underline;
}
.products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}
.products-in-cart{
  gap: 20px;
  padding: 20px;
}
.product-card {
  width:  calc(33.33% - 20px);
}
.product-item{
  width:calc(45% - 20px);;
  height: 200px;
  gap: 20px;
}
.product-item:hover{
    transform: scale(1.002) translateY(-10px);
    transition: .3s ease-in-out;
    box-shadow: 0px 5px 10px rgb(128, 128, 128,.3);
    border: 2px solid red !important;
}
.product-content{
  width:75%;
}
.cart-img{
  width:25%;
  height: 55%;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
}
.favorite-line{
  width: 200px ;
  height: 2px;
  background-color: red;
  margin: auto;
  transition: .4s all;
}
.favorite-products{
  gap: 20px;
}
.fa-heart:hover{
cursor: pointer;
}
.favorite-products {
  display: flex;
  overflow-x: auto;        
  scroll-behavior: smooth;   
  padding: 10px;
  gap: 10px; 
}
.favorite-products::-webkit-scrollbar {
  height: 8px;
}
.favorite-products::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}
.favorite-products::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}
.product-card2{
  width:  300px;
  overflow: hidden;
}
.product-card2:hover{
   transform: scale(1.002) translateY(-8px);
    transition: .3s ease-in-out;
    box-shadow: 0px 5px 10px rgb(128, 128, 128,.3);
    border: 2px solid red !important;
}
.product-img2{
  height: 200px;
  width: 100%;
   object-fit:cover;
}
.containerRemove{
  display: flex;
  gap: 3.7rem;
}
.cart-icon{
  border: 1px solid grey;
  font-size: 9px;
  padding: 10px 6px;
  border-radius: 3px;
}
.dropdown-menu{
  background-color: #ccc;
  width: 200px;
}
.dropdown {
    position: relative;
}
.dropdown-button:hover{
background-color: rgb(239, 239, 239);
}
.item-shop{
  font-size: 16px;
}
.product-shop{
  background-color: #e9e9e9;
  padding: 10px 0px;
  border-radius: 5px;
}
.dropdown-item:hover{
  background: transparent !important;
}
.item-minus:hover,.item-plus:hover{
  background-color: #888888;
  color: white;
  cursor: pointer;
}
.favorite-title:hover +.favorite-line{
  width: 600px;
}
/* Responsive Design */
@media (max-width: 1200px) {
  .product-card {
    width: calc(50% - 20px);
  }
  .products-in-cart{
    display: flex;
    flex-direction:row;
  }
.product-item{
  height: 200px;
}
.products-in-cart{
  gap: 20px;
  padding: 15px;
}
.product-item{
  width:calc(49% -20px);;
 height: 270px;
  gap: 10px;
}
.containerRemove{
  display: flex;
  flex-direction: column;
  gap:20px;
}
.products-in-cart h3{
  height: 60px;

}
}
@media (max-width: 768px) {
  .products-in-cart{
    display: flex;
    flex-direction: column;
  }
  .products-in-cart{
    display: flex;
    flex-direction: column;
  }
.product-item{
  width:100%;
  height: 200px;
}
.containerRemove{
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}
.products-in-cart h3{
  height: 30px;
}
}
@media (max-width:576px) {
  .product-card {
    width: calc(100% - 20px);
  }
}
