/* GLOBAL RESET */
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #fafafa;
}

/* NAVBAR */
.navbar {
    width: 100%;
    background: #fff;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.navbar img {
    height: 50px;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    font-size: 16px;
    color: #444;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links .active {
    color: #000;
    font-weight: 600;
}

/* HEADER */
.wishlist-header {
    text-align: center;
    margin: 30px 0;
}

.wishlist-header h1 {
    font-size: 32px;
    color: #222;
}

.wishlist-header p {
    margin-top: 5px;
    color: #666;
}

/* WISHLIST CARDS */
.wishlist-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.w-item {
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.25s ease;
}

.w-item:hover {
    transform: translateY(-4px);
}

.w-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
}

.w-title {
    margin: 10px 0 6px;
    font-size: 17px;
    font-weight: 600;
}

.w-price {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
}

/* BUTTONS */
.w-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-cart {
    background: #111;
    color: white;
}

.btn-cart:hover {
    background: #333;
}

.btn-remove {
    background: #eee;
    color: #333;
}

.btn-remove:hover {
    background: #ddd;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .wishlist-container {
        grid-template-columns: 1fr;
    }
}
