/* covers-list.css */

/* Page base */
body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: #f2f4f6;
    color: #1e1e1e;
}

/* Banner (keep as is – already good) */
.model-banner {
    background-size: cover;
    background-position: center;
    padding: 90px 16px;
    color: #fff;
    text-align: center;
}

.model-banner .overlay {
    background: rgba(0,0,0,0.55);
    padding: 28px 22px;
    border-radius: 16px;
    max-width: 900px;
    margin: auto;
}

/* Grid */
.cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    padding: 32px 16px 48px;
    max-width: 1200px;
    margin: auto;
}

/* Card */
.cover-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 16px 22px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

/* Image */
.cover-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #f9f9f9;
}

/* Product title */
.cover-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 6px 0 8px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price */
.cover-card .price {
    font-size: 16px;
    font-weight: 700;
    color: #1f8a4c;
    margin-bottom: 14px;
}

/* CTA button */
.product-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 999px;
    background: #1f8a4c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.product-btn:hover {
    background: #166b3a;
    transform: translateY(-2px);
}

/* Loader */
#loader {
    text-align: center;
    font-size: 15px;
    color: #777;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 600px) {

    .cover-grid {
        gap: 16px;
        padding: 24px 12px 40px;
    }

    .cover-card img {
        height: 200px;
    }

    .cover-card h3 {
        font-size: 14px;
    }

    .product-btn {
    padding: 9px 24px;
    font-size: 13px;
}
}
