
/* Typo et reset */
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    background-color: #f9f9fb;
    color: #222;
}
h1, h2, h3 {
    font-weight: 600;
    color: #4a148c;
}
a {
    color: #9c27b0;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}
.logo img {
    height: 60px;
}
.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav a {
    font-weight: bold;
    color: #6a1b9a;
}

/* Main */
main {
    padding: 2rem 0;
}

/* Item Grid */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.item-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.item-card:hover {
    transform: scale(1.02);
}
.item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.item-card .no-thumb {
    background: #eee;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.item-card h3 {
    margin: 0.8rem;
}
.item-card p {
    margin: 0 0.8rem 1rem;
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
footer {
    background: #eee;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #555;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
}