/* ===== Recherche ===== */

.abo-search {
    max-width: 500px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    position: relative;
}

.abo-search__input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1em;
    color: #1a1a1a;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 18px center no-repeat;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.abo-search__input::placeholder {
    color: #999;
}

.abo-search__input:focus {
    border-color: #c83232;
    box-shadow: 0 0 0 3px rgba(200, 50, 50, 0.1);
}

/* ===== Grille ===== */

.abo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem 3rem;
}

@media (min-width: 600px) {
    .abo-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem 3rem;
    }
}

@media (min-width: 1024px) {
    .abo-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 3rem 3rem;
    }
}

/* ===== Carte ===== */

.abo-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(200, 50, 50, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: #1a1a1a;
    position: relative;
}

.abo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c83232, #e74c3c, #c83232);
    z-index: 1;
}

.abo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(200, 50, 50, 0.25);
}

.abo-card--hidden {
    display: none;
}

/* ===== Image ===== */

.abo-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.abo-card__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.abo-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.abo-card:hover .abo-card__image img {
    transform: scale(1.05);
}

/* ===== Infos ===== */

.abo-card__info {
    padding: 16px 20px 12px;
    flex: 1;
}

.abo-card__title {
    font-size: 1.15em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.abo-card__details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 8px;
}

.abo-card__separator {
    color: #ccc;
}

.abo-card__price {
    font-size: 1.3em;
    font-weight: 800;
    color: #c83232;
}

.abo-card__price small {
    font-size: 0.65em;
    font-weight: 400;
    color: #888;
}

/* ===== CTA ===== */

.abo-card__cta {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #c83232, #e74c3c);
    color: #fff;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.abo-card:hover .abo-card__cta {
    background: linear-gradient(135deg, #a82828, #c83232);
}

/* ===== Responsive ===== */

@media (max-width: 599px) {
    .abo-card__info {
        padding: 12px 16px 8px;
    }
    .abo-card__title {
        font-size: 1em;
    }
}
