.jina-pc-front-button,
.jina-pc-single-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px !important;
    margin-top: 8px !important;
    border: 1px solid #111827 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .08) !important;
    z-index: 30;
}
.jina-pc-front-button:hover,
.jina-pc-single-button:hover { background:#111827 !important; color:#fff !important; }
.products .product { position:relative; }
.jina-pc-front-button-fallback { position:absolute; top:8px; left:8px; margin:0 !important; }
.jina-pc-single-wrap { clear:both; padding-top:14px; }

/* v3.0.3 — pastilles compactes et affichage possible dès une seule pastille */
.jina-pc-product-swatches {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 5px !important;
    min-height: 26px;
    position: relative;
    z-index: 8;
}
.jina-pc-product-swatch,
.jina-pc-product-swatch-more {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #111 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #111 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: transform .14s ease, opacity .14s ease;
}
.jina-pc-product-swatch img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: scale(1.08);
    transform-origin: center;
}
a.jina-pc-product-swatch:hover,
a.jina-pc-product-swatch:focus-visible {
    transform: translateY(-1px);
    opacity: .82;
    outline: none;
}
.jina-pc-product-swatch.is-current {
    border-width: 1.5px !important;
}
.jina-pc-product-swatch-more {
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    background: #fff !important;
}
@media (max-width: 600px) {
    .jina-pc-product-swatches {
        gap: 5px;
        margin-top: 7px !important;
        min-height: 24px;
    }
    .jina-pc-product-swatch,
    .jina-pc-product-swatch-more {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }
}

/* v4.3.2 — les pastilles prélevées à la pipette sont rendues directement en CSS.
 * Elles ne dépendent plus du chargement du fichier PNG de la médiathèque. */
.jina-pc-product-swatch-color {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}
.jina-pc-product-swatch.is-solid-color {
    background: transparent !important;
}
