/* #fc-home-category > .content {
    background: #e3e3e3;
} */
.item-category-header a{
    color: #fff!important;
    font-size: 25px;
}


/* #fc-home-category .content {
    padding: 17px 32px;
} */

.item-category-content > ul {
    border-left: 1px solid #aaa;
}

.item-category-content {
    margin-top: 24px;
}

a.item-name-header{
    color: #1ca158;
    font-weight: bold;
    text-transform: uppercase;
}

.home-top-title,.home-top-title p {
    color: #fff;
}

.home-top-title .title-h2 {
    font-size: 31px;
    margin-bottom: 10px;
}

.home-top-title p {
    font-size: 20px;
    font-weight: 200;
}
.item-category-link{color: #555;}

a.item-name-footer-categ {
    color: #555;
    font-weight: bold;
    text-decoration: underline;
}

.item-category-list {
    margin-bottom: 30px;
}

#fc-home-category .home-top-title.text-center {
    padding: 20px;
}

.section-h {
    background: #f5f5f5;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-h-header {
    background: linear-gradient(135deg, #31854b 0%, #28a745 100%);
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
}

.section-h-header img {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.masonry-container {
    padding: 20px;
    column-count: 3;
    column-gap: 20px;
    column-fill: balance;
}


.category-h {
    break-inside: avoid;
    margin-bottom: 20px;
    background: white;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #28a745;
}

.category-h h3,
.category-h h4 {
    color: #28a745;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.2s ease;
}

/* Styles pour le mode responsive accordéon */
@media (max-width: 768px) {

    .masonry-container {
        column-count: 1;
    }
    
    .category-h h3,
    .category-h h4 {
        cursor: pointer;
        padding-right: 30px;
        user-select: none;
    }

    .category-h h4.collapsed{
        color: #28a745;
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .category-h h3:hover,
    .category-h h4:hover {
        color: #1e7e34;
    }

    .category-h h3::after,
    .category-h h4::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 0;
        font-size: 12px;
        transition: transform 0.3s ease;
        color: #28a745;
    }

    .category-h h3.collapsed::after,
    .category-h h4.collapsed::after {
        transform: rotate(-90deg);
    }

    .category-h ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .category-h ul.expanded {
        max-height:unset;
        opacity: 1;
        display: block;
    }

    .category-h .more-link {
        display: none;
    }

    .category-h .more-link.show {
        display: inline-block;
        opacity: 0;
        animation: fadeIn 0.3s ease 0.2s forwards;
    }
}
@media (min-width: 769px) and (max-width: 991px) {
    .masonry-container {
        column-count: 2;
    }

    .category-h h3,
    .category-h h4 {
        cursor: pointer;
        padding-right: 30px;
        user-select: none;
    }

    .category-h h4.collapsed {
        color: #28a745;
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .category-h h3:hover,
    .category-h h4:hover {
        color: #1e7e34;
    }

    .category-h h3::after,
    .category-h h4::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 0;
        font-size: 12px;
        transition: transform 0.3s ease;
        color: #28a745;
    }

    .category-h h3.collapsed::after,
    .category-h h4.collapsed::after {
        transform: rotate(-90deg);
    }

    .category-h ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .category-h ul.expanded {
        max-height:unset;
        opacity: 1;
        display: block;
    }

    .category-h .more-link {
        display: none;
    }

    .category-h .more-link.show {
        display: inline-block;
        opacity: 0;
        animation: fadeIn 0.3s ease 0.2s forwards;
    }
}

/* Styles normaux pour desktop */
@media (min-width: 769px) {
    .category-h ul {
        list-style: none;
    }
}

.category-h li {
    padding: 3px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.category-h li:hover {
    color: #28a745;
    cursor: pointer;
}

.more-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: bold;
    margin-top: 8px;
    display: inline-block;
    font-size: 13px;
}

.more-link:hover {
    color: #0056b3;
}

/* Animation d'apparition */
.category-h {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.category-h:nth-child(1) {
    animation-delay: 0.1s;
}

.category-h:nth-child(2) {
    animation-delay: 0.2s;
}

.category-h:nth-child(3) {
    animation-delay: 0.3s;
}

.category-h:nth-child(4) {
    animation-delay: 0.4s;
}

.category-h:nth-child(5) {
    animation-delay: 0.5s;
}

.category-h:nth-child(6) {
    animation-delay: 0.6s;
}

.category-h:nth-child(7) {
    animation-delay: 0.7s;
}

.category-h:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Effet hover sur les sections */
.section-h {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-h:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Indicateur de chargement pour les transitions */
.category-h ul {
    list-style: none;
}

.payment-option label img.logo-payment-item.img {
    height: 50px;
    width: auto !important;
    border: none !important;
    margin-right: -30px;
}