/* ==========================================================
   PETSCOMPARE - Barre de raccourcis catégories
   ==========================================================
   Affichée sous le topbar pour que toute personne trouve
   "Croquettes chien" en 1 clic, sans devoir hover le topbar.
   ========================================================== */

.quick-cats {
    background: #fff;
    border-bottom: 1px solid #f3e8d0;
    padding: .55rem 0;
    position: sticky;
    top: 0;
    z-index: 80;  /* sous le topbar (z-index 85) */
}

.quick-cats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    overflow-x: auto;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE */
}
.quick-cats-inner::-webkit-scrollbar { display: none; }

.quick-cats-label {
    flex-shrink: 0;
    font-size: .78rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.quick-cats-list {
    display: flex;
    gap: .45rem;
    flex-wrap: nowrap;
}

.quick-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    background: #fefaf2;
    border: 1px solid #f3e8d0;
    border-radius: 999px;
    color: #1f2937;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}

.quick-cat-chip:hover {
    background: #047857;
    color: #fff;
    border-color: #047857;
    text-decoration: none;
    transform: translateY(-1px);
}

.quick-cat-chip.is-active {
    background: #047857;
    color: #fff;
    border-color: #047857;
    font-weight: 600;
}

.quick-cat-chip-all {
    background: #fff;
    border-style: dashed;
}

.quick-cat-emoji {
    font-size: 1rem;
    line-height: 1;
}

/* Mobile : scroll horizontal naturel */
@media (max-width: 768px) {
    .quick-cats {
        padding: .45rem 0;
    }
    .quick-cats-inner {
        padding: 0 .85rem;
        gap: .55rem;
    }
    .quick-cats-label {
        display: none;  /* gain de place sur mobile */
    }
    .quick-cat-chip {
        padding: .4rem .75rem;
        font-size: .82rem;
    }
}
