
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 40px;
}
.product-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.product-card {
    width: 350px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image img {
    opacity: 0.8;
}
.product-info {
    padding: 15px 20px;
}
.product-name {
    font-size: 1.6rem;
    color: #6c3a76; 
    margin-bottom: 10px;
    font-weight: bold;
}

.product-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-price {
    font-size: 1.4rem;
    color: #5ad0c3;
    font-weight: bold;
}
.buy-btn {
    padding: 8px 15px;
    background-color: #6c3a76; 
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.buy-btn:hover {
    background-color: #5ad0c3;
}
.buy-btn:active {
    transform: scale(0.98);
}
@media (max-width: 425px) {
    .container {
      flex-direction: column;
      align-items: center;
      gap: 20px !important;
      padding: 0 10px;
    }
  
    .product-container {
      width: 100%;
    }
  
    .product-card {
      width: 100%;
      box-sizing: border-box;
    }
  
    .product-image img {
      width: 100%;
      height: auto;
    }
  
    .product-info {
      text-align: center;
    }
  
    .product-name {
      font-size: 18px;
    }
  
    .product-description {
      font-size: 14px;
      margin: 10px 0;
    }
  
    .product-footer {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .product-price {
      font-size: 16px;
      margin-bottom: 10px;
    }
  
    .buy-btn {
      font-size: 14px;
      padding: 10px 20px;
    }
  }
  