/* Boutique de démonstration (complète les composants fd-* de base.css) */

.demo-banner {
    background: #fff8db;
    border-bottom: 1px solid #f1d675;
    color: #5c4a00;
}

.demo-banner p {
    max-width: var(--fd-container);
    margin: 0 auto;
    padding: 0.75rem 1rem;
}

.demo-banner a {
    color: #5c4a00;
    font-weight: 700;
}

.boutique__outils {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.boutique__recherche {
    display: flex;
    flex: 1 1 240px;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.9rem;
    border: 1px solid #cbd2dc;
    border-radius: 10px;
    background: #fff;
    color: var(--fd-discret);
}

.boutique__recherche:focus-within {
    border-color: var(--fd-encre);
    outline: 3px solid rgba(11, 94, 215, 0.2);
}

.boutique__recherche input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0;
    border: 0;
    background: transparent;
    font: 1rem var(--fd-font);
    color: var(--fd-encre);
    outline: none;
}

.boutique__compteur {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #fff;
    color: var(--fd-vert-texte);
    font-size: 0.85rem;
}

.boutique__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.boutique__categorie {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--fd-ligne);
    border-radius: 999px;
    background: #fff;
    font: 600 0.9rem var(--fd-font);
    color: var(--fd-texte);
    cursor: pointer;
}

.boutique__categorie[aria-pressed="true"] {
    border-color: var(--fd-encre);
    background: var(--fd-encre);
    color: #fff;
}

.boutique__nom {
    margin: 0 0 0.35rem;
    font-family: var(--fd-font-title);
    font-size: 1.1rem;
    color: var(--fd-encre);
}

.boutique__barre {
    margin-left: 0.4rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--fd-discret);
}

/* Panier (fenêtre modale native) */
.boutique__panier {
    width: min(480px, calc(100vw - 2rem));
    padding: 1.5rem;
    border: 0;
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow);
}

.boutique__panier::backdrop {
    background: rgba(16, 24, 40, 0.5);
}

.boutique__panier-tete {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boutique__panier-tete h2 {
    margin: 0;
    font-family: var(--fd-font-title);
    font-size: 1.3rem;
}

.boutique__fermer {
    padding: 0.4rem;
    border: 0;
    background: none;
    font-size: 1.3rem;
    color: var(--fd-discret);
    cursor: pointer;
}

.boutique__lignes {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.boutique__ligne {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--fd-ligne);
}

.boutique__ligne-nom {
    font-weight: 600;
    color: var(--fd-encre);
}

.boutique__ligne-prix {
    grid-column: 2;
    grid-row: 1;
    font-weight: 700;
}

.boutique__quantite {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.boutique__quantite button {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--fd-ligne);
    border-radius: 8px;
    background: var(--fd-papier);
    font-size: 1.1rem;
    cursor: pointer;
}

.boutique__total {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.boutique__panier .fd-btn {
    width: 100%;
}

.boutique__panier .fd-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.boutique__message {
    padding: 0.85rem;
    border-radius: 10px;
    background: #e3f5ec;
    font: 0.92rem var(--fd-font);
    white-space: pre-wrap;
}
