/* ═══ PRODUCT PAGE EXTRAS — widgets InkSide ═══════════
 * Sections « Autre coupe » / « Suggérés ».
 * Réutilise les cartes catalogue (shop-grid.css) ; ce fichier n'ajoute
 * que le conteneur de section, le titre et l'override colonnes.
 * ══════════════════════════════════════════════════════ */

/* ── Section (titre + grille) ── */
body.inkside-theme .ink-pe-section {
    margin: 0;
}

body.inkside-theme .ink-pe-section__title {
    font-family: var(--ink-font);
    font-size: var(--ink-font-size-lg);
    font-weight: 800;
    color: var(--ink-text);
    margin: 0 0 var(--ink-space-md);
    padding-bottom: var(--ink-space-sm);
    border-bottom: 1px solid var(--ink-border);
}

/* Respecter le réglage « Colonnes » du widget (le catalogue force 4). */
body.inkside-theme .ink-pe-section ul.products.ink-products-grid {
    grid-template-columns: repeat(var(--ink-pe-cols, 4), 1fr);
}
/* Tablette + mobile : carrousel horizontal (peu d'items → plus agréable qu'une liste) */
@media (max-width: 900px) {
    body.inkside-theme .ink-pe-section ul.products.ink-products-grid {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: var(--ink-space-sm);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }
    body.inkside-theme .ink-pe-section ul.products.ink-products-grid::-webkit-scrollbar {
        display: none;
    }
    body.inkside-theme .ink-pe-section ul.products.ink-products-grid li.product {
        flex: 0 0 clamp(150px, 46%, 230px);
        scroll-snap-align: start;
    }
}

/* ════ Identité distincte par widget ════════════════════ */

/* « Autre coupe » → accent navy (primary) */
body.inkside-theme .ink-pe-section--cuts .ink-pe-section__title {
    border-bottom-color: var(--ink-primary);
}
body.inkside-theme .ink-pe-section--cuts ul.products.ink-products-grid li.product:hover {
    border-color: var(--ink-primary);
    box-shadow: 0 8px 24px rgba(48, 73, 97, 0.14);
}

/* « Vous aimerez aussi » → accent vert + coins plus arrondis */
body.inkside-theme .ink-pe-section--suggested .ink-pe-section__title {
    border-bottom-color: var(--ink-accent);
}
body.inkside-theme .ink-pe-section--suggested ul.products.ink-products-grid li.product {
    border-radius: var(--ink-radius-xl);
}
body.inkside-theme .ink-pe-section--suggested ul.products.ink-products-grid li.product:hover {
    border-color: var(--ink-accent);
    box-shadow: 0 8px 24px rgba(97, 206, 112, 0.20);
}
body.inkside-theme .ink-pe-section--suggested ul.products.ink-products-grid li.product:hover .ink-card__cta-arrow {
    background: var(--ink-accent);
    color: #fff;
}

/* ════ Format de carte distinct par widget ══════════════ */

/* « Autre coupe » : on garde les pastilles couleur (swatches) pour choisir sa
   coupe, et on masque la pastille « +N couleurs » sur l'image (redondante). */
body.inkside-theme .ink-pe-section--cuts .ink-card__color-count {
    display: none;
}

/* « Vous aimerez aussi » : carte épurée — pas de swatches ni de méta
   (composition/grammage), mais on garde le compteur « +N couleurs ». */
body.inkside-theme .ink-pe-section--suggested .ink-catalog-swatches,
body.inkside-theme .ink-pe-section--suggested .ink-card__meta {
    display: none;
}

/* ════ En-tête éditorial Instagram (sous-titre + titre) ══ */

/* Sous-titre (eyebrow) : gris majuscule espacé, au-dessus du titre. */
body.inkside-theme .ink-ig-section .ink-pe-section__eyebrow {
    font-family: var(--ink-font);
    font-size: var(--ink-font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-text-faint);
    margin: 0 0 var(--ink-space-xs);
}

/* Titre : grand, gras, navy, sans soulignement (override du titre de section). */
body.inkside-theme .ink-ig-section .ink-pe-section__title {
    font-size: var(--ink-font-size-2xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink-text);
    margin: 0 0 var(--ink-space-lg);
    padding-bottom: 0;
    border-bottom: 0;
}

@media (max-width: 600px) {
    body.inkside-theme .ink-ig-section .ink-pe-section__title {
        font-size: var(--ink-font-size-xl);
    }
}
