/* =========================
   RESET & BASE
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #111;
    color: #eee;
    padding: 20px;
}

/* =========================
   TITRE
   ========================= */
h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* =========================
   BARRE RECHERCHE / FILTRES
   ========================= */
form.search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 35px;
}

form.search input,
form.search select,
form.search button {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
}

form.search input,
form.search select {
    background: #1e1e1e;
    color: #eee;
    border: 1px solid #333;
}

form.search input::placeholder {
    color: #777;
}

form.search button {
    background: #f5c542;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

form.search button:hover {
    background: #ffd95a;
}

/* =========================
   GRILLE VINYLES
   ========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* =========================
   CARTE VINYLE
   ========================= */
.card {
    background: #181818;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.75);
}

/* =========================
   IMAGE VINYLE (PETITE + ZOOM)
   ========================= */
.card img {
    width: 100%;
    max-height: 190px;          /* vignette plus petite */
    object-fit: contain;
    background: #000;
    border-radius: 6px;
    margin-bottom: 12px;
    transition: transform 0.35s ease;
    position: relative;
    z-index: 1;
}

/* Zoom au survol */
.card img:hover {
    transform: scale(1.55);
    cursor: zoom-in;
    z-index: 5;
}

/* =========================
   TEXTES
   ========================= */
.card h2 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card .title {
    font-size: 14px;
    font-style: italic;
    color: #bbb;
    margin-bottom: 10px;
}

.card p {
    font-size: 13px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 8px;
}

/* =========================
   PRIX
   ========================= */
.card .price {
    font-size: 18px;
    font-weight: bold;
    color: #f5c542;
    margin-top: 10px;
}

/* =========================
   BOUTON CONTACT
   ========================= */
.card .btn {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 10px;
    background: #f5c542;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease;
}

.card .btn:hover {
    background: #ffd95a;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    h1 {
        font-size: 22px;
    }

    .grid {
        gap: 18px;
    }

    .card img {
        max-height: 160px;
    }
}

/* =========================
   DÉSACTIVER ZOOM SUR MOBILE
   ========================= */
@media (hover: none) {
    .card img:hover {
        transform: none;
    }
}
