/* Style Loading */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
  }

.circle-loader {
    width: 120px;
    height: 120px;
    border: 8px solid #ddd;
    border-top: 8px solid #64A0AE;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

#content {
    display: none;
    padding: 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Coleur active par default */
.faq-question.active {
    color: #64A0AE;
}

.faq-answer {
    transition: all 0.5s ease;
}
.faq-section {
    transform-origin: top center;
}
.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
  
.fade-slide.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Animation fade-slide Page Resultats*/
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(1.5rem);
        /* 6 */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-slide-up {
    animation-name: fadeSlideUp;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}



/* Scrollbar Webkit avec animation */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    transition: all 0.3s ease-in-out;
  }
  
  ::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: rgba(100, 160, 174, 0.4); 
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #64A0AE; 
    border-color: #e5e7eb;  
  }
  
  /* Firefox support */
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 160, 174, 0.4) transparent;
  }
  
  *:hover {
    scrollbar-color: #64A0AE #f5f5f5;
  }

  /* Css details */
  .search-input {
            border-radius: 20px;
            background-color: #f1f1f1;
        }
        .delivery-button {
            border-radius: 20px;
            background-color: #64A0AE;
        }
        .action-button {
            border-radius: 20px;
            background-color: #8CC492;
        }
        .category-badge {
            border-radius: 15px;
            font-size: 12px;
            padding: 4px 12px;
        }
        .promo-card {
            border-radius: 8px;
        }
        .feature-icon {
            background-color: #64A0AE;
            width: 60px;
            height: 60px;
        }
        .zone-badge {
            border-radius: 20px;
            background-color: #f1f1f1;
            font-size: 13px;
        }
        .profit-button {
            border-radius: 20px;
            background-color: #555;
            color: white;
            font-size: 13px;
        }



/* Styles pour les animations personnalisées */
.text-brand-blue {
    color: #64A0AE;
}

.bg-brand-blue {
    background-color: #64A0AE;
}

.hover\:bg-brand-green:hover {
    background-color: #8CC492;
}

/* Animation de survol pour les cartes */
.product-card {
    transition: all 0.3s ease;
}

/* Animation pour les images au survol */
.product-card img {
    transition: transform 0.5s ease;
}

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

/* Animation pour les liens */
.product-card a {
    position: relative;
    transition: all 0.3s ease;
}

.product-card a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #64A0AE;
    transition: width 0.3s ease;
}

.product-card a:hover:after {
    width: 100%;
}



/* Badgde */
/* Styles pour les badges seulement */
.badge-epicerie,
.badge-surgeles,
.badge-boissons,
.badge-hygiene,
.badge-entretien {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

/* Couleur */
.badge-epicerie {
    background-color: #64A0AE;
}

.badge-surgeles {
    background-color: #885053;
}

.badge-boissons {
    background-color: #E8DAB2;
}

.badge-hygiene {
    background-color: #5A5766;
}

.badge-entretien {
    background-color: #48435C;
}

/* Couleurs pour vos liens existants */
.text-brand-blue {
    color: #64A0AE;
}

/* Animation existante pour les cartes */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}