body {
    font-family: 'Poppins', sans-serif; 
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; 
  }
  
  #app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4a90e2;
    color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }
  
  .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .product-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .product-card img:not([src$='.gif']) {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: rotateAndShrink 6s ease-in-out infinite; 
  }
  
  .product-card img[src$='.gif'] {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  
  button {
    background-color: #ff7f50; 
    color: white;
    border: none;
    margin: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  button:hover {
    background-color: #ff6347; 
    transform: translateY(-2px); 
  }
  
  .cart {
    margin-top: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #e6f7ff; 
    border-radius: 8px;
  }
  
  .checkout-btn {
    width: 100%;
    margin-top: 20px;
    background-color: #1d3557; 
    color: white;
    font-weight: bold;
    font-size: 16px;
  }
  
  .checkout-btn:hover {
    background-color: #457b9d; /
  }
  
  .music-control {
    background-color: #c424d2; 
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .music-control:hover {
    background-color: #ff009d; /* Dark green for hover effect */
    transform: translateY(-2px); /* Subtle hover lift */
  }
  
  @keyframes rotateAndShrink {
    0% {
      transform: rotate(0deg) scale(1); /* Normal size, no rotation */
    }
    50% {
      transform: rotate(360deg) scale(0.6); /* Full rotation, smallest size */
    }
    75% {
      transform: rotate(0deg) scale(0.8); /* Back to mid-size */
    }
    100% {
      transform: rotate(0deg) scale(1); /* Back to normal size */
    }
  }
  
  .product-reviews {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
  }
  
  .average-rating {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffa500;
    margin-bottom: 10px;
  }
  
  .review-list {
    max-height: 200px;
    overflow-y: auto;
  }
  
  .review-item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
  }
  
  .review-item:last-child {
    border-bottom: none;
  }
  
  .stars {
    color: #ffd700;
    margin-bottom: 5px;
  }
  
  .star-filled {
    color: #ffd700;
  }
  
  .review-content {
    margin-left: 5px;
  }
  
  .review-comment {
    font-style: italic;
    margin: 5px 0;
  }
  
  .review-user {
    color: #666;
    font-size: 0.9em;
  }
  
  .no-reviews {
    color: #666;
    font-style: italic;
    padding: 10px;
  }
  