/* ============================================
   BLOC "SUGGESTIONS DE COLLECTION" — page produit
   Atelier Farouche
   Markup entièrement maison — aucune dépendance au
   template produit de Flatsome, donc aucun conflit CSS possible.
   ============================================ */

.af-collection-suggestions {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.af-collection-suggestions__title {
    text-align: center;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.3px;
    margin: 0 0 4px;
}

.af-collection-suggestions__squiggle {
    display: block;
    width: 60px;
    height: 12px;
    margin: 0 auto 28px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'><path d='M0 6 Q5 0 10 6 T20 6 T30 6 T40 6 T50 6 T60 6' stroke='%23F7A6C4' stroke-width='2.5' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

/* --- Grille : 1 colonne (empilé) sur mobile, 4 produits + carte CTA en ligne sur desktop --- */
.af-collection-suggestions__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1000px) {
    .af-collection-suggestions__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
}

/* --- Carte produit --- */
.af-collection-suggestions__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.af-collection-suggestions__card-image {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
}

.af-collection-suggestions__card-image img,
.af-collection-suggestions__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.af-collection-suggestions__card-category {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.af-collection-suggestions__card-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
}

.af-collection-suggestions__card-price {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
}

.af-collection-suggestions__card-price .woocommerce-Price-amount {
    color: #3F22EB;
    font-weight: 700;
}

/* --- Carte CTA : même structure que les cartes produit (image carrée + texte dessous) --- */
.af-collection-suggestions__cta-image {
    position: relative;
    background-color: #3F22EB; /* couleur de secours si pas d'image configurée */
    background-size: cover;
    background-position: center;
}

.af-collection-suggestions__cta-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(63, 34, 235, 0.55), rgba(130, 70, 220, 0.35));
    mix-blend-mode: multiply;
}

.af-collection-suggestions__cta-text {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #3F22EB;
    text-align: center;
    line-height: 1.4;
}

.af-collection-suggestions__cta:hover .af-collection-suggestions__cta-image {
    opacity: 0.85;
}

/* ============================================
   IMAGE DE COLLECTION — page d'archive étiquette
   ============================================ */

.af-collection-archive-image {
    margin-bottom: 24px;
}

.af-collection-archive-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
