/* Marketplace CSS - Styles combinés pour single-modele.php, single-application.php, archive-modele.php, archive-application.php */

/* Container principal */
.marketplace-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    min-height: calc(100vh - 81px);
    margin-top: 81px;
}

.marketplace-layout {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 81px);
}
.marketplace-wrapper {
    flex: 0 1 100%;
}

/* Main Content */
.marketplace-content-archive {
    display: flex;
    gap: 20px;
    flex-direction: column;
    background: white;
    overflow: hidden;
    padding: 40px;
}

/* Content Area Below Hero */
.marketplace-content {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 40px;
    padding: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    margin: 0;
    padding: 8px 16px;
    font-size: 12px;
    color: #262166;
}

.breadcrumbs a {
    color: #4C408B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #262166;
    text-decoration: underline;
}

.breadcrumbs .separator {
    color: #262166;
    margin: 0 8px;
}

.breadcrumbs .current {
    color: #262166;
    text-decoration: underline;
    font-weight: 500;
}

/* Breadcrumbs Overlay */
.hero-breadcrumb,
.breadcrumbs-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
}

.hero-breadcrumb .breadcrumbs,
.breadcrumbs-overlay .breadcrumbs {
    margin: 0;
    padding: 8px 16px;
    font-size: 12px;
}

.hero-breadcrumb .breadcrumbs a,
.breadcrumbs-overlay .breadcrumbs a {
    color: #4C408B;
    text-decoration: none;
}

.hero-breadcrumb .breadcrumbs a:hover,
.breadcrumbs-overlay .breadcrumbs a:hover {
    color: #524EC4;
    text-decoration: underline;
}

.hero-breadcrumb .breadcrumbs .separator,
.breadcrumbs-overlay .breadcrumbs .separator {
    color: #262166;
    margin: 0 8px;
}

.hero-breadcrumb .breadcrumbs .current,
.breadcrumbs-overlay .breadcrumbs .current {
    color: #262166;
    text-decoration: underline;
    font-weight: 500;
}

/* Sidebar */
.marketplace-sidebar {
    background: #f8f9fa;
    padding: 0;
    flex: 0 0 250px;
}

.marketplace-sidebar-content {
    padding: 0;
}

.sidebar-section {
    border-bottom: 1px solid #e9ecef;
    padding: 20px;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    color: #32307E;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.sidebar-section h3 a {
    color: inherit;
    text-decoration: none;
}

.sidebar-section h3 a:hover {
    text-decoration: underline;
}

.sidebar-section h4 {
    color: #32307E;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.sidebar-section h4:first-child {
    margin-top: 0;
}

.featured-list,
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.featured-list li,
.category-list li {
    margin-bottom: 8px;
}

.featured-list a,
.category-list a,
.home-link-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 5px 14px;
    transition: 0.3s ease;
    border-radius: 4px;
}

.featured-list a:hover,
.category-list a:hover,
.home-link-list a:hover,
.featured-list a.active,
.category-list a.active,
.home-link-list a.active {
    background-color: var(--myrtille600);
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #6f42c1;
}

.filter-options .count {
    margin-left: auto;
    background: #e9ecef;
    color: #666;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

/* Hero Section (Developer) */
.developer-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-gradient {
    width: 100%;
    height: 290px;
    background: linear-gradient(135deg, #ffccd5 0%, #cc99ff 100%);
    border-radius: 0 0 8px 8px;
}

.hero-content-section {
    position: relative;
    background: white;
    margin: -70px auto 20px;
    padding: 20px 20px 0 10px;
    text-align: left;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.logo-container {
    position: relative;
    top: -50px;
    flex-shrink: 0;
}

.developer-logo,
.default-developer-logo {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    background: white;
}

.default-developer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff5733;
    color: white;
    font-size: 40px;
    font-weight: 600;
}

.hero-details {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    min-height: 120px;
}

.details-text {
    margin-bottom: 10px;
}

.developer-name {
    font-size: 35px;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.developer-description {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.details-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.btn-site {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #534fc4;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-site:hover {
    background: #534fc4;
    transform: translateY(-1px);
}

.models-count {
    font-size: 14px;
    color: #6c757d;
}

/* App Header (Single Application/Modele) */
.app-header {
    position: relative;
    overflow: hidden;
}

.app-header .top {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.app-header .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.app-header .bottom {
    background: white;
    padding: 0;
    position: relative;
}

.app-header .container {
    padding: 0;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1.5fr 0.1fr 1fr;
    gap: 30px;
    padding: 30px 20px;
    align-items: start;
}

.col-logo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -60px;
}

.model-logo {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.model-title {
    font-size: 32px;
}

.model-description,
.app-link {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 12px 0;
}

.app-link a {
    color: #6f42c1;
    text-decoration: none;
    font-weight: 500;
}

.app-link a:hover {
    text-decoration: underline;
}

.col-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.app-header .button {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #7666B6;
    text-align: right;
}

.downloads-count {
    font-weight: 500;
    color: #7666B6
;
}

.downloads-count strong {
    color: #262166;
}

.unlock-text {
    line-height: 1.3;
    color: #7666B6;
}

.unlock-text strong {
    color: #262166;
    font-weight: 600;
}

/* Contrôle des sauts de ligne selon les tailles d'écran */
.downloads-count br {
    display: inline; /* Afficher les br sur desktop par défaut */
}

.unlock-text br {
    display: inline; /* Afficher les br sur desktop par défaut */
}

/* Grilles */
.placeholder-icon {
    font-size: 32px;
    color: #999;
}

.btn-utiliser {
    display: inline-block;
    padding: 6px 12px;
    background: #e1d6ff;
    color: #312F7C;
    text-align: center;
    border: none;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-utiliser:hover {
    background: #7d3c9e;
    color: white;
    transform: translateY(-1px);
}

.price-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.price-badge.free {
    background: #e8f5e8;
    color: #2d7738;
}

.price-badge.paid {
    background: #fff3cd;
    color: #856404;
}

/* Developer Header */
.developpeur-page {
    background: white;
    border-radius: 8px;
    padding: 0 40px;
}

.developpeur-main-header {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid #e1e5e9;
}

.developpeur-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.developpeur-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e1e5e9;
}

.developpeur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developpeur-infos {
    flex: 1;
}

.developpeur-nom {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.developpeur-description {
    font-size: 16px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.developpeur-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.developpeur-actions {
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #007cba;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.btn .icon {
    font-size: 14px;
}

/* Sections */
.developpeur-apropos,
.developpeur-modeles {
    padding: 40px 0;
}

.developpeur-apropos {
    border-bottom: 1px solid #e1e5e9;
}

.apropos-content {
    line-height: 1.6;
    color: #555;
    font-size: 16px;
}

.apropos-content p {
    margin-bottom: 16px;
}

/* Carousel */
.model-carousel-section {
    background: #fff;
}

.carousel-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.carousel-title,
.section-title,
.section-title-center {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px 0;
    line-height: 1.3;
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}



.carousel-slide {
    position: relative;
    height: 400px;
    outline: none;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.carousel-image:hover {
    transform: scale(1.02);
}



.slick-carousel-wrapper {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 16px;
}

/* Fullscreen Overlay */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.fullscreen-close:hover {
    color: #6f42c1;
}

.fullscreen-carousel {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    position: relative;
}

.fullscreen-slide {
    height: 80vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    outline: none;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.fullscreen-carousel .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.fullscreen-carousel .slick-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-carousel .slick-prev {
    left: -80px;
}

.fullscreen-carousel .slick-next {
    right: -80px;
}

.fullscreen-carousel .slick-arrow:before {
    display: none;
}

.fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

body.fullscreen-active {
    overflow: hidden;
}

/* Content Sections */
.model-content-sections {
    background: white;
}

.model-content-sections h2 {
    font-size: 24px;
    font-weight: 600;
    color: #262166;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.model-content-sections h3 {
    font-size: 20px;
    font-weight: 600;
    color: #262166;
    margin: 0 0 15px 0;
}

.model-content-sections p {
    font-size: 16px;
    line-height: 1.6;
    color: #262166;
    margin: 0 0 15px 0;
}

.content-section {
    padding: 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.section-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Use Cases Grid */
.use-cases-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.use-case-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.use-case-item.layout-right {
    flex-direction: row-reverse;
}

.use-case-content {
    flex: 1;
}

.use-case-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.use-case-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.use-case-image {
    flex-shrink: 0;
    width: 300px;
}

.image-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Associated Models - Desktop/Mobile Layout Control */
.marketplace-associated-mobile {
    display: none; /* Hidden on desktop by default */
}

.marketplace-associated-desktop {
    display: block; /* Shown on desktop by default */
}

/* Associated Models Sidebar */
.marketplace-associated,
.associated-models {
    background: white;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
    margin: 0 20px 20px 0;
}

.models-associated-sidebar {
    padding: 0;
}

.associated-models-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.associated-model-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.associated-model-item:hover {
    background: #f8f9fa;
}

.model-icon-small {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-details-small {
    flex: 1;
    min-width: 0;
}

.model-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.model-category {
    font-size: 12px;
    color: #524EC4;
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.model-stats-small {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.downloads-small {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #262166;
}

.price-indicator {
    color: #6f42c1;
    font-weight: 500;
}

/* Similar Applications Sidebar */
.applications-similar-sidebar {
    margin-top: 20px;
}

.category-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    background-color: #EEEDFD;
    color: #262166;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.category-tag:hover {
    background-color: #E0DEFA;
}

.applications-similar-sidebar {
    margin-top: 20px;
}
.similar-applications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.similar-application-item {
    padding: 12px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.similar-application-item:hover {
    background: #f8f9fa;
    cursor: pointer;
}

.application-icon-small {
    width: 50px;
    height: 50px;
}
.application-category {
    font-size: 12px;
    color: #524EC4;
    font-weight: 600;
}
.application-stats-small {
    font-size: 12px;
    color: #262166;
}

.application-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

/* Styles pour la sidebar responsive */
@media (max-width: 767px) {
    .marketplace-sidebar {
        display: none; /* Masquer la sidebar par défaut sur mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(-100%); /* Sidebar hors écran par défaut */
    }

    .marketplace-sidebar.active {
        display: block;
        transform: translateX(0); /* Sidebar visible */
    }
    
    /* Bouton croix pour fermer la sidebar */
    .sidebar-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: #524EC4;
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        transition: background-color 0.2s ease;
    }
    
    .sidebar-close-btn:hover {
        background: #443A9A;
    }
    
    .sidebar-close-btn::before {
        content: "×";
        font-weight: bold;
        line-height: 1;
    }
    
    /* Ajuster l'espacement du contenu avec le bouton croix */
    .marketplace-sidebar-content {
        padding-top: 70px; /* Espace pour le bouton croix */
    }

        .sidebar-toggle-button {
        display: block;
        background: #524EC4;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        margin: 10px 0;
        width: fit-content;
    }

        .sidebar-toggle-button:hover {
        background: #443A9A;
    }

    .marketplace-layout {
        flex-direction: column;
    }

    .marketplace-wrapper {
        width: 100%;
    }

    .app-header .container {
    padding: 20px;
    }
}

@media (min-width: 768px) {
    .sidebar-toggle-button {
        display: none; /* Masquer le bouton sur desktop */
    }
}


.application-icon-small {
    width: 50px;
    height: 50px;
}

.application-category {
    font-size: 12px;
    color: #524EC4;
    font-weight: 600;
}

.application-stats-small {
    font-size: 12px;
    color: #262166;
}

.application-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

/* Visual Previews Section */
.model-previews {
    position: relative;
    margin-bottom: 40px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.previews-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.previews-grid::-webkit-scrollbar {
    display: none;
}

.preview-item {
    flex: 0 0 450px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.preview-content {
    text-align: center;
    color: #666;
}

.preview-content h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.preview-content p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.preview-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-content li {
    background: #6f42c1;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin: 6px;
    font-size: 13px;
    font-weight: 500;
}

.preview-btn {
    background: #6f42c1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.preview-btn:hover {
    background: #5a32a3;
}

.preview-actions {
    position: absolute;
    top: 15px;
    right: 15px;
}

.trash-icon {
    color: #dc3545;
    cursor: pointer;
    font-size: 18px;
}

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-nav,
.carousel-arrow {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover,
.carousel-arrow:hover {
    background: #6f42c1;
    color: white;
    transform: scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.slide-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
    min-width: 60px;
    text-align: center;
}

.modele-action {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
}

/* Sidebar Responsive */
@media (max-width: 767px) {
    .marketplace-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }

    .marketplace-sidebar.active {
        display: block;
        transform: translateX(0);
    }

    .sidebar-toggle-button {
        display: block;
        background: #524EC4;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        margin: 10px 0;
        width: fit-content;
    }
    
    .sidebar-toggle-button:hover {
        background: #443A9A;
    }

    .marketplace-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .marketplace-content,
    .marketplace-wrapper {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .sidebar-toggle-button {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .marketplace-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .marketplace-associated,
    .associated-models {
        position: static;
        order: -1;
        margin: 0 20px 40px 20px;
    }

    .applications-grid,
    .modeles-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-content {
        gap: 30px;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 968px) {
    .marketplace-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .marketplace-sidebar {
        display: none;
    }

    .marketplace-content {
        padding: 20px;
    }

    .header-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 80px 0 40px 0;
    }

    .col-logo {
        justify-content: center;
        margin-top: -40px;
    }

    .col-actions {
        align-items: center;
    }

    .download-info {
        flex-direction: column;
        gap: 8px;
        text-align: right;
        align-items: flex-end;
    }
    
    .download-info .downloads-count {
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .download-info .downloads-count strong {
        font-size: 18px;
        color: #262166;
        font-weight: 600;
    }
    
    .download-info .unlock-text {
        text-align: right;
        color: #7666B6;
    }
    
    .download-info .unlock-text strong {
        font-size: 16px;
        color: #262166;
        display: block;
        text-align: right;
    }
    
    /* Masquer les br sur mobile car on utilise flex-direction: column */
    .download-info .downloads-count br,
    .download-info .unlock-text br {
        display: none;
    }

    .model-title {
        font-size: 24px;
    }

    .model-carousel-section,
    .content-section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .use-case-item {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }

    .use-case-image {
        width: 100%;
        max-width: 300px;
    }
}

/* Container breadcrumb-filters pour pages single - Masqué sur desktop */
.single-breadcrumb-filters-container {
    display: none;
}

@media (max-width: 768px) {
    .hero-gradient {
        height: 180px;
    }

    .hero-content-section {
        margin: -70px auto 20px;
        padding: 15px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .logo-container {
        top: -60px;
        margin-bottom: -60px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .button-group{
        flex-direction: column;
    }

    /* Mobile: hide desktop associated models and show mobile version */
    .marketplace-associated-desktop {
        display: none !important;
    }
    
    .marketplace-associated-mobile {
        display: block !important;
        margin: 40px 0 20px 0;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 12px;
        border: 1px solid #e9ecef;
    }
    
    .marketplace-associated-mobile .models-associated-sidebar {
        background: transparent;
        padding: 0;
        margin: 0;
    }
    
    .marketplace-associated-mobile .marketplace-section-title {
        font-size: 20px;
        margin-bottom: 20px;
        color: #262166;
    }

    .marketplace-associated{
        margin: 0;
        padding: 0;
    }

    /* Mobile Carousel: 80% slide + 20% peek */
    .custom-slider-container {
        overflow: visible; /* Allow peek to show */
        padding-right: 0;
    }
    
    .custom-slider-wrapper {
        overflow: visible; /* Allow peek to show */
        padding-right: 0;
    }
    
    .slider-track {
        gap: 10px; /* Small gap between slides for peek effect */
    }
    
    .slide-item {
        flex: 0 0 80% !important; /* 80% pour slide principale + 20% peek */
        position: relative;
    }
    

    
    /* Ensure container doesn't cut off the peek */
    .model-carousel-section {
        overflow: visible;
    }
    
    .custom-slider-wrapper {
        overflow: visible;
        padding-right: 0;
    }

    .developer-logo,
    .default-developer-logo {
        width: 90px;
        height: 90px;
    }

    .developer-name {
        font-size: 24px;
    }

    /* Hero details mobile organization */
    .hero-details {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        min-height: auto;
    }
    
    .details-text {
        order: 1; /* Texte en premier */
        margin-bottom: 0;
    }
    
    .details-actions {
        order: 2; /* Actions en second */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .developer-description {
        font-size: 14px;
    }

    .btn-site {
        padding: 8px 16px;
        font-size: 12px;
    }

    .details-actions {
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .applications-grid,
    .modeles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modele-thumbnail {
        height: 120px;
    }

    .modele-content {
        padding: 10px;
        min-height: 60px;
    }

    .modele-title {
        font-size: 14px;
    }

    .modele-description {
        font-size: 12px;
    }

    .modele-action {
        bottom: 8px;
        right: 8px;
        display: flex;
        justify-content: flex-start;
    }

    .btn-utiliser {
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 6px;
    }

    .model-carousel-section {
        padding: 40px 20px;
    }

    .carousel-container {
        max-width: 100%;
    }

    .carousel-title {
        font-size: 24px;
        margin-bottom: 30px;
    }


    .carousel-slide {
        height: 300px;
        padding: 0 4px;
    }

    .slick-carousel-wrapper {
        padding: 0 8px;
    }

    .fullscreen-carousel {
        width: 95%;
    }

    .fullscreen-carousel .slick-prev {
        left: 10px;
    }

    .fullscreen-carousel .slick-next {
        right: 10px;
    }

    .fullscreen-carousel .slick-arrow {
        width: 50px;
        height: 50px;
    }

    .fullscreen-close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }

    .preview-item {
        flex: 0 0 320px;
        height: 240px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .carousel-title,
    .section-title,
    .section-title-center {
        font-size: 24px;
    }

    .use-case-title {
        font-size: 22px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .carousel-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .applications-grid,
    .modeles-grid {
        grid-template-columns: 1fr;
    }

    .model-title {
        font-size: 28px;
    }

    .preview-item {
        flex: 0 0 280px;
        height: 210px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .model-header {
        padding: 25px;
    }
}

.marketplace-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #262166;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
    margin-bottom: 40px;
}

.custom-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* When there's only 1 image, make it full width */
.custom-slider-container[data-total="1"] .slide-item {
    flex: 0 0 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 20px;
}

/* Each slide - desktop: 50% with gap, mobile: 100% */
.slide-item {
    flex: 0 0 calc(50% - 10px); /* Default desktop: 2 slides side by side */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.slide-item:hover {
    transform: scale(1.02);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: #6f42c1;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.slider-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transform: translateY(-50%) scale(0.9);
}

.carousel-slide {
    position: relative;
    height: 400px;
    outline: none;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.carousel-image:hover {
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .applications-grid,
    .modeles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 480px) {
    .applications-grid,
    .modeles-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 1100px) {
    .applications-grid,
    .modeles-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1400px) {
    .applications-grid,
    .modeles-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1600px) {
    .applications-grid,
    .modeles-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
}

.search-form {
    text-align: center;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 8px 13px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: "New Garet", sans-serif;
}
#search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#search-suggestions li {
    list-style: none; /* Supprimer les points des li */
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left; /* Alignement à gauche pour les suggestions */
}
#search-suggestions li:last-child {
    border-bottom: none;
}
#search-suggestions li a {
    display: block;
    text-decoration: none;
    color: #000;
    position: relative;
    padding-right: 80px; /* Espace pour le type */
}
#search-suggestions li a .type {
    font-size: 0.8em;
    color: #666;
    position: absolute;
    right: 10px;
    bottom: 5px;
}

/* Styles pour le bouton filtres avec icône */
.sidebar-toggle-button {
    display: none; /* Masqué par défaut (desktop) */
    align-items: center;
    gap: 8px;
}

.filter-icon {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 16px;
}

.filter-icon .bar {
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
    transition: all 0.2s ease;
}

.filter-icon .bar-1 {
    width: 100%;
}

.filter-icon .bar-2 {
    width: 75%;
}

.filter-icon .bar-3 {
    width: 50%;
}

/* Responsive text */
.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

/* Container pour breadcrumb et bouton filtres */
.breadcrumb-filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.breadcrumb-filters-container .breadcrumbs {
    flex: 1;
    margin: 0;
}

.breadcrumb-filters-container .sidebar-toggle-button {
    flex-shrink: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Afficher le bouton filtres seulement sur mobile */
    .sidebar-toggle-button {
        display: flex;
    }
    
    .mobile-text {
        display: inline;
    }
    
    .desktop-text {
        display: none;
    }
    
    .breadcrumb-filters-container .breadcrumbs {
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* Réduire le padding sur mobile */
    .marketplace-content-archive {
        padding: 20px;
    }
    
    /* Style mobile pour les cartes d'applications */
    .application-card {
        display: flex;
        flex-direction: column;
    }
    
    .application-link {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
    }
    
    .application-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .application-info {
        flex: 1;
    }
    
    /* Réorganiser le footer sur mobile */
    .application-footer {
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding-top: 12px;
    }
    
    .application-stats {
        order: 1;
        justify-content: flex-start;
        align-self: flex-start;
    }
    
    .application-action {
        order: 2;
        width: 100%;
    }
    
    /* Bouton installer pleine largeur et plus arrondi sur mobile */
    .application-action .btn-utiliser {
        width: 100%;
        padding: 8px 16px;
        border-radius: 20px;
        text-align: center;
        display: block;
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Style mobile pour les cartes de modèles */
    .modele-card {
        display: flex;
        flex-direction: column;
    }
    
    .modele-link {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
    }
    
    .modele-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .modele-info {
        flex: 1;
    }
    
    /* Bouton utiliser pleine largeur sur mobile pour les modèles */
    .modele-action {
        width: 100%;
        margin-top: auto;
        padding-top: 12px;
        display: flex;
        justify-content: flex-start;
    }
    
    .modele-action .btn-utiliser {
        width: 100%;
        padding: 8px 16px;
        border-radius: 20px;
        text-align: center;
        display: block;
        font-size: 14px;
        font-weight: 600;
    }
    
    /* === STYLES POUR PAGES SINGLE === */
    
    /* Container pour breadcrumb et bouton filtres sur pages single */
    .single-breadcrumb-filters-container {
        display: flex !important; /* Forcer l'affichage sur mobile */
        justify-content: space-between;
        align-items: center;
        gap: 5px;
        margin-bottom: 20px;
        padding: 0px 10px;
    }
    
    .single-breadcrumb-filters-container .single-breadcrumb {
        flex: 1;
    }
    
    .single-breadcrumb-filters-container .single-breadcrumb .breadcrumbs {
        margin: 0;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .single-breadcrumb-filters-container .single-filter-button {
        flex-shrink: 0;
    }
    
    /* Masquer les breadcrumbs et bouton filtres du hero sur mobile uniquement */
    .hero-breadcrumb-desktop,
    .hero-filter-button-desktop {
        display: none !important;
    }
    
    /* Faire empiéter le logo sur la section top du hero sur mobile */
    .app-header .bottom .container{
        transform: translateY(-30px);
    } 

    .app-header .model-logo {
        width: 120px;
        height: 120px;
    }

    .app-header .top{
        height: 150px;
    }

    .app-header .header-content{
        padding: 0px 0px 0px 0px;
    }

     .download-info {
        flex-direction: row;
    }
     .download-info .separator {
        font-size: 45px;
        color: #7666B6;
    }

    .marketplace-wrapper .marketplace-content{
        padding: 0;
    }

    .marketplace-container{
        margin-top:50px;
    }

    .page-template-template-marketplace-fille p {
        font-size: 14px;
    }

}

/* Logo inline pour "Pour l'application" */
.app-link {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    gap: 6px !important;
}

.app-logo-inline {
    height: 18px;
    width: auto;
    flex-shrink: 0;
}

.app-text {
    display: inline;
}

/* Bouton outline guimauve */
.button-outline-guimauve {
    background-color: transparent !important;
    border: 2px solid #7A70F2 !important;
    color: #524EC4 !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.button-outline-guimauve:hover {
    background-color: #7A70F2 !important;
    color: #FFFFFF !important;
    border-color: #7A70F2 !important;
}

/*-------------------------- New design -----------------------------*/
.marketplace-container h1 {
    color: var(--text);
}
/* Styles pour les grilles des cartes */
.applications-grid,
.grille-card-grid,
.modeles-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(270px, 1fr)); /* 6 colonnes fixes */
    gap: 20px;
    width: 100%;
}

/* Styles communs aux cartes (modèle et application) */
.modele-card,
.application-card {
    border: 1px solid #E1D6FF;
    border-radius: 12px; /* Bordure arrondie globale */
    overflow: hidden;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    width: 100%;
}

/* Liens globaux */
.modele-link,
.application-link {
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Thumbnail / Image des cartes */
.modele-thumbnail,
.application-thumbnail {
    height: 150px; /* Hauteur ajustée selon l'image */
    overflow: hidden;
    border-radius: 12px 12px 0 0; /* Coins arrondis en haut */
}

.modele-image,
.application-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit l'espace tout en restant proportionnel */
    display: block;
}

.modele-placeholder,
.application-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.placeholder-icon {
    font-size: 32px;
    color: #999;
}

/* Contenu des cartes */
.modele-content,
.application-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px; /* Hauteur minimale pour garantir que le footer/action reste en bas */
}

/* Titre des cartes */
.modele-title,
.application-title {
    font-size: 18px; /* Légèrement plus grand pour se démarquer */
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
    line-height: 1.3;
}

/* Description des cartes */
.modele-description,
.application-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 6px 0; /* Espacement avant les métadonnées pour application */
    line-height: 1.4;
    text-align: left;
}

.modele-content .new-text {
    color: #262166;
    opacity: 0.7;
}
.modele-content .new-h3 {
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 3px;
}

/* Prix du modèle */
.modele-price {
    font-size: 14px;
    color: #777;
    margin: 0 0 6px 0;
    text-align: left;
}

/* Métadonnées spécifiques aux applications */
.application-category {
    font-size: 14px;
    color: #777;
    margin: 0 0 6px 0;
    text-align: left;
}

/* Stats des applications */
.application-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.download-icon {
    font-size: 18px; /* Taille de l'icône */
}

.download-count {
    font-size: 14px;
    color: #444;
}

/* Footer des cartes (application) */
.application-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-top: auto; /* Pousse le footer en bas */
}

/* Action des cartes (modèle et application) */
.modele-action {
    align-self: flex-end; /* Aligne à droite */
}

/* Bouton commun pour modèle et application */
.btn-utiliser {
    display: inline-block;
    padding: 6px 12px;
    background: #e1d6ff; /* Violet clair */
    color: #7772a3;
    text-align: center;
    border: none;
    border-radius: 15px; /* Coins arrondis */
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer; /* Apparence cliquable */
}

.btn-utiliser:hover {
    background: #7d3c9e; /* Violet plus foncé au survol */
    color: white;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1400px) {
    .applications-grid,
    .grille-card-grid,
    .modeles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-grid,
    .grille-card-grid,
    .modeles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .modele-thumbnail,
    .application-thumbnail {
        height: 130px;
    }
    .modele-content,
    .application-content {
        padding: 10px 10px;
        min-height: 160px; /* Réduit pour mobile */
    }
    .application-content {
        min-height: 180px; /* Réduit mais garde de la place pour métadonnées */
    }
    .modele-title,
    .application-title {
        font-size: 14px;
    }
    .modele-description,
    .application-description,
    .modele-price,
    .application-category,
    .download-count {
        font-size: 12px;
    }
    .application-footer,
    .modele-action {
        padding-bottom: 15px; /* Réduit légèrement pour mobile */
    }
    .btn-utiliser {
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .applications-grid,
    .grille-card-grid,
    .modeles-grid {
        grid-template-columns: 1fr;
    }
}