/* --- Styl Wishlisty - Akcent Ciemnofioletowy --- */

:root {
    --bg-color: #8D43F0;
    --card-bg: #f9f9fb;
    --text-main: #4a148c;
    --text-muted: #86868b;
    --accent-purple: #4a148c;
    --accent-purple-hover: #311b92;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 40px 20px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-main);
}

/* --- Siatka produktów --- */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* --- Karta produktu --- */
.card {
    background: var(--card-bg);
    border: 3px solid var(--accent-purple);
    border-radius: 20px;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-shadow);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #dcdcdc;
}

/* --- Zdjęcie w karcie --- */
.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
}

/* --- Tytuł i Cena --- */
.card h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 10px 0 5px 0;
    color: var(--text-main);
    line-height: 1.3;
}

.card .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 15px;
}

/* --- Przycisk (Akcent fioletowy) --- */
.btn {
    margin-top: auto;
    background: var(--accent-purple);
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 16px;
}

.btn:hover {
    background: var(--accent-purple-hover);
}

