#wishlist-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px 0;
}

.wishlist-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 220px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wishlist-item img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.wishlist-item h3 {
    font-size: 1.1em;
    margin: 10px 0 5px 0;
}

.wishlist-item p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #555;
}

.wishlist-item button {
    margin-top: 10px;
    padding: 7px 12px;
    border: none;
    border-radius: 5px;
    background-color: #dc3545;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.wishlist-item button:hover {
    background-color: #b52a36;
}

.meni ul li:nth-child(4){
    border-bottom: 1px solid #FF6B00;
}

.empty-wishlist {
    display: flex;
    flex-direction: column;
    align-items: center;       /* хоризонтално центрирање */
    justify-content: center;   /* вертикално центрирање */
    min-height: 300px;         /* поголема висина за центрирање */
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    border-radius: 12px;
    padding: 40px;
    margin: 20px auto;         /* центрирање на блокот хоризонтално */
    text-align: center;
    max-width: 400px;          /* ограничување на ширината за подобар изглед */
    color: #555;
    transition: transform 0.3s ease;
}

.empty-wishlist:hover {
    transform: scale(1.02);
}

.empty-wishlist p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.empty-wishlist a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.empty-wishlist a:hover {
    background-color: #45a049;
}
.wishlist-page h1{
    text-align: center;
}