/**
 * Styles pour la section caractéristiques personnalisée
 * Thème: WPRentals-Child
 */

/* Conteneur principal */
.custom-features-section {
    padding: 30px 0;
    margin-bottom: 30px;
}

.custom-features-section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #222;
}

/* Grille des caractéristiques */
.custom-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .custom-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Caractéristique individuelle */
.custom-feature-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.custom-feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-feature-icon i {
    font-size: 14px;
    color: #333;
}

.custom-feature-text {
    font-size: 16px;
    color: #333;
}

/* Caractéristique non disponible */
.custom-feature-unavailable {
    text-decoration: line-through;
    color: #999;
}

.custom-feature-unavailable i {
    color: #999;
}

/* Bouton "Afficher plus" */
.custom-features-show-more {
    background-color: #F2F2F2;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.custom-features-show-more:hover {
    background-color: #ebebeb;
}

/* Modal */
.custom-features-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
}

.custom-features-modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-features-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.custom-features-modal-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #222;
}

/* Catégories dans le modal */
.custom-features-category {
    margin-bottom: 30px;
}

.custom-features-category-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #222;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.custom-features-category-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 576px) {
    .custom-features-category-items {
        grid-template-columns: 1fr;
    }
}
