/* Vignettes produits et boîte vendeur — chargé avec ?v=filemtime par ets_marketplace (hookDisplayHeader) pour contourner le cache CDN 7 jours de custom.css (2026-09-26) */
/* ===== Vignettes produits (accueil / catégories) : carré, recadré "cover" (2026-09-25) =====
   Les miniatures sont générées en gardant les proportions de l'original
   (ImageManager override, mode "largeur") : elles peuvent donc être plus
   hautes que larges. On force ici un cadre carré et on recadre l'image au
   centre (object-fit: cover) : pas de déformation, pas de bandes blanches.
   Vaut aussi pour la 2e image affichée au survol. */
.elementor-product-miniature .elementor-image {
    aspect-ratio: 1 / 1;
}
.elementor-product-miniature .elementor-image picture {
    display: block;
    width: 100%;
    height: 100%;
}
.elementor-product-miniature .elementor-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.elementor-product-miniature .elementor-image .elementor-second-image {
    height: 100% !important;
}

/* ===== Boîte vendeur (fiche produit) : fond #fafafa au lieu de #ffffff (2026-09-26) ===== */
.mp_shop_seller_detail {
    background-color: #fafafa !important;
}

/* ===== Page boutique vendeur : vignette identique aux pages catégorie (2026-09-26) =====
   Image carrée recadrée (cover), 2e image au survol, titre, prix et bouton d'action ;
   pas de bloc vendeur. Balisage : ets_marketplace/views/templates/hook/shop/product_tile.tpl */
.shop-product-col .mp-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    padding: 10px;
}
.mp-tile__box {
    position: relative;
    transition: opacity .4s, transform .4s;
}
.mp-tile__box:hover {
    opacity: .78;
    transform: scale(1.02);
}
.mp-tile__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.mp-tile__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}
.mp-tile__image picture,
.mp-tile__image img {
    display: block;
    width: 100%;
    height: 100%;
}
.mp-tile__image img {
    object-fit: cover;
    object-position: center;
}
.mp-tile__second {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .4s;
}
.mp-tile:hover .mp-tile__second {
    opacity: 1;
}
.mp-tile__quickview {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .5);
    color: #000;
    font-size: 14px;
    line-height: 40px;
    padding: 0;
    transform: translateY(100%);
    transition: transform .4s, background-color .4s;
}
.mp-tile:hover .mp-tile__quickview {
    cursor: pointer;
    transform: translateY(0);
}
.mp-tile__quickview:hover {
    background: rgba(255, 255, 255, .7);
}
.mp-tile__content {
    padding: 10px 0 0;
    text-align: left;
}
.mp-tile__title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    white-space: normal;
}
.mp-tile__price {
    margin-top: 8px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
.mp-tile__cta {
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding: 12px 0 4px;
    text-align: center;
}
.mp-tile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1f1f1f;
    color: #fff;
    border: 0;
    border-radius: 30px;
    padding: 9px 24px;
    font-family: "Montserrat", sans-serif;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
.mp-tile__btn:hover {
    background: #000;
    color: #fff;
}

/* Mobile : vignettes de la boutique vendeur plus larges (marges réduites) et texte -2px (2026-09-26) */
@media (max-width: 767.98px) {
    .shop-product-col {
        padding-left: 5px;
        padding-right: 5px;
    }
    .shop-product-col .mp-tile {
        padding: 5px;
    }
    .mp-tile__title {
        font-size: 16px;
    }
    .mp-tile__price {
        font-size: 18px;
    }
}

/* ===== Liste des boutiques (/shop/) : logos en cercle, cartes soignées, grille 2 / 3 / 4 colonnes (2026-09-26) =====
   Balisage : ets_marketplace/views/templates/hook/shop/shop_list.tpl (li.seller-miniature > .thumbnail-container).
   Préfixe "body" pour passer devant fo_shops.css / fo_products_page.css sans multiplier les !important. */
body ul.ets_mp_list_seller {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}
body ul.ets_mp_list_seller li.seller-miniature {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}
body ul.ets_mp_list_seller li.seller-miniature .thumbnail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 18px 8px 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    transition: transform .25s, box-shadow .25s;
}
body ul.ets_mp_list_seller li.seller-miniature .thumbnail-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
body ul.ets_mp_list_seller li.seller-miniature .thumbnail.seller-thumbnail {
    display: block;
    width: 72%;
    max-width: 170px;
    margin: 0 auto 12px;
    border-radius: 50%;
}
body ul.ets_mp_list_seller li.seller-miniature .thumbnail.seller-thumbnail img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e6e6e6;
    background: #fff;
}
body ul.ets_mp_list_seller li.seller-miniature .seller-description {
    width: 100%;
    margin: 0;
    padding: 0 4px;
    border: 0;
    box-shadow: none;
}
body ul.ets_mp_list_seller li.seller-miniature .seller-name {
    margin: 0 0 4px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
body ul.ets_mp_list_seller li.seller-miniature .seller-name a {
    font-size: 32px !important; /* écrase le style inline (50px) du template */
}
body ul.ets_mp_list_seller li.seller-miniature .number-product {
    font-size: 12px;
    color: #8a8a8a;
}
body ul.ets_mp_list_seller li.seller-miniature .ets_review {
    margin-top: 4px;
    font-size: 12px;
}
@media (min-width: 576px) {
    body ul.ets_mp_list_seller {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    body ul.ets_mp_list_seller li.seller-miniature .seller-name a {
        font-size: 34px !important;
    }
    body ul.ets_mp_list_seller li.seller-miniature .number-product,
    body ul.ets_mp_list_seller li.seller-miniature .ets_review {
        font-size: 13px;
    }
}
@media (min-width: 992px) {
    body ul.ets_mp_list_seller {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
    body ul.ets_mp_list_seller li.seller-miniature .thumbnail-container {
        padding: 22px 12px 18px;
    }
    body ul.ets_mp_list_seller li.seller-miniature .seller-name a {
        font-size: 40px !important;
    }
}

/* ===== Liste des boutiques : filtres mobile modernisés, tri masqué (2026-09-26) =====
   Recherche + catégorie en champs "pilule" pleine largeur, sans cadre ni libellés visibles
   (placeholder / première option suffisent ; les labels restent lisibles par les lecteurs d'écran). */
@media (max-width: 767.98px) {
    body #js-shop-list-top .shop-list-top-box {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin: 4px 0 0;
        padding: 0 12px; /* la .row du parent a des marges négatives */
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    body #js-shop-list-top .shop-list-top-box > div {
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
    body #js-shop-list-top .shop-list-top-box .block-search {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    /* Tri masqué (le tri par défaut "Populaire" reste appliqué côté serveur) */
    body #js-shop-list-top .col_sortby {
        display: none;
    }
    /* Libellés masqués visuellement */
    body #js-shop-list-top .shop-list-top-box label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    body #js-shop-list-top .col_search.col_search_shop_name {
        position: relative;
        width: 100%;
        margin: 0;
    }
    body #js-shop-list-top .shop-list-top-box input#search_by_shop_name {
        width: 100%;
        height: 46px;
        margin: 0;
        padding: 0 18px 0 44px;
        font-size: 15px;
        color: #1f1f1f;
        background-color: #f3f4f6;
        border: 1px solid transparent;
        border-radius: 999px;
        box-shadow: none;
        -webkit-appearance: none;
        appearance: none;
        transition: border-color .2s, background-color .2s, box-shadow .2s;
    }
    body #js-shop-list-top .shop-list-top-box input#search_by_shop_name::placeholder {
        color: #8a8f98;
    }
    body #js-shop-list-top .shop-list-top-box input#search_by_shop_name:focus {
        background-color: #fff;
        border-color: #1f1f1f;
        outline: 0;
        box-shadow: 0 0 0 3px rgba(31, 31, 31, .08);
    }
    /* Loupe à gauche du champ (le style d'origine la place à droite) */
    body #js-shop-list-top .col_search.col_search_shop_name svg {
        position: absolute;
        top: 50%;
        left: 17px;
        right: auto;
        width: 16px;
        height: 16px;
        transform: translateY(-50%);
        color: #6b7079;
        pointer-events: none;
    }
    body ul.ets_mp_list_seller {
        margin-top: 16px;
    }
}

/* ===== Disponibilité du vendeur : "Disponible" (cercle vert) / "Non disponible" (cercle rouge) — 2026-09 =====
   Sous le pays, sur la fiche produit, les vignettes et l'en-tête de la boutique. */
.mp_avail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-family: "Montserrat", sans-serif;
    font-size: .75rem;
    font-weight: 600;
    color: #444;
    line-height: 1.2;
}
.mp_avail__dot {
    display: inline-block;
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.mp_avail.is-off .mp_avail__dot {
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .18);
}

/* ===== Menu vendeur (espace pro) : textes en gras Montserrat + bulle de notification (2026-09) =====
   Préfixe "body" pour passer devant custom.css (mis en cache 7 jours par le CDN). */
body .ets_mp_content_left .ets_mp_item a {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
}
body .ets_mp_content_left .ets_mp_item b.number_message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 999px;
    background: #e02424;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px #fff;
}
body .ets_mp_content_left .ets_mp_item b.number_message.is-zero {
    background: #111111;
}

/* ===== Page "Réouvrir ou Fermer commandes" (2026-09) ===== */
.mp_avail_card {
    max-width: 560px;
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}
.mp_avail_status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}
.mp_avail_card.is-closed .mp_avail__dot {
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .18);
}
.mp_avail_text {
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.5;
}
.mp_avail_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.mp_avail_btn_icon {
    display: inline-flex;
}
.mp_avail_btn.is-close {
    color: #dc2626;
    border-color: #dc2626;
}
.mp_avail_btn.is-close:hover {
    background: #dc2626;
    color: #fff;
}
.mp_avail_btn.is-reopen {
    color: #16a34a;
    border-color: #16a34a;
}
.mp_avail_btn.is-reopen:hover {
    background: #16a34a;
    color: #fff;
}

/* ===== "Réouvrir ou Fermer commandes" : programmation par dates (2026-09b) ===== */
.mp_avail_schedule {
    max-width: 560px;
    margin-top: 16px;
    padding: 18px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
}
.mp_avail_schedule_title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-family: "Montserrat", sans-serif;
    font-size: .95rem;
    font-weight: 700;
}
.mp_avail_schedule_hint {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: .85rem;
    line-height: 1.5;
}
.mp_avail_schedule_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.mp_avail_schedule_row label {
    flex: 0 0 110px;
    font-size: .85rem;
    color: #374151;
}
.mp_avail_schedule_row input[type="date"] {
    flex: 1;
    max-width: 200px;
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .9rem;
}
.mp_avail_schedule_actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}
.mp_avail_schedule_save {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 22px;
}
.mp_avail_schedule_clear {
    color: #dc2626;
    font-size: .85rem;
    text-decoration: underline;
    padding: 0;
}

/* Boutique vendeur : espacement entre le statut de disponibilité et la bio (2026-09) */
.seller-col-info .mp_avail {
    margin-bottom: 10px;
}

/* Bouton "Demander un devis" (page boutique vendeur) : police Montserrat (2026-09) */
.mp_link_devis {
    font-family: "Montserrat", sans-serif;
}

/* ===== Liste des boutiques : filtre catégories en icônes (2026-10) =====
   Remplace l'ancien <select> classique par une rangée de pastilles cliquables (icône + libellé),
   modifiables en BO (icône par catégorie, AdminMarketPlaceCategory). Le <select> d'origine reste dans
   le DOM, caché, pour continuer à piloter le rechargement ajax existant sans aucun changement JS côté
   filtre lui-même (cf. .shop-category-select-hidden plus bas). */
.shop-category-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.shop-category-icons {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 20px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.shop-category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    width: 88px;
    padding: 14px 8px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    transition: border-color .2s, background-color .2s, transform .15s;
}
.shop-category-pill:hover {
    border-color: #1f1f1f;
    transform: translateY(-2px);
}
.shop-category-pill.active {
    background: #1f1f1f;
    border-color: #1f1f1f;
}
.shop-category-pill__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #1f1f1f;
    overflow: hidden;
}
.shop-category-pill.active .shop-category-pill__icon {
    background: #fff;
}
.shop-category-pill__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.shop-category-pill__label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #1f1f1f;
    white-space: normal;
    word-break: break-word;
}
.shop-category-pill.active .shop-category-pill__label {
    color: #fff;
}
@media (max-width: 767.98px) {
    .shop-category-icons {
        margin: 14px 0 16px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .shop-category-pill {
        width: 76px;
        padding: 12px 6px 8px;
    }
}

/* ===== Liste des boutiques : chargement automatique au scroll (2026-10) =====
   Remplace la pagination numérotée. Lien discret, simple filet de secours cliquable si le scroll
   automatique ne se déclenche pas pour une raison ou une autre (cf. front.js). */
.ets_mp_shop_list_load_more_wrap {
    display: flex;
    justify-content: center;
    margin: 24px 0 12px;
}
.ets_mp_load_more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #1f1f1f;
    background: #f3f4f6;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color .2s;
}
.ets_mp_load_more:hover {
    background: #e5e7eb;
    color: #1f1f1f;
    text-decoration: none;
}
.ets_mp_list_seller.loading + .ets_mp_shop_list_load_more_wrap .ets_mp_load_more {
    opacity: .5;
    pointer-events: none;
}

/* ===== Signalement (2026-10, Phase 2 du système de signalement/modération) =====
   Lien discret, inspiré d'Etsy : pas de bouton plein, pas de fond coloré, petite icône drapeau,
   couleur secondaire/neutre. Ne doit jamais concurrencer les CTA principaux (Demander un devis /
   Accepter une offre / etc.). Utilisé sur la page boutique (shop.tpl) ET la fiche produit
   (product_detail.tpl) : règles génériques, partagées entre les deux. */
.ets-mp-report-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    background: none;
    border: none;
    padding: 4px 2px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: #9ca3af;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.3;
}
.ets-mp-report-link svg {
    flex-shrink: 0;
    fill: currentColor;
}
.ets-mp-report-link:hover,
.ets-mp-report-link:focus-visible {
    color: #6b7280;
    text-decoration: underline;
    outline: none;
}
.ets-mp-report-link:focus-visible {
    outline: 2px solid #9ca3af;
    outline-offset: 2px;
    border-radius: 2px;
}
/* Page boutique : aligné à droite sous "Demander un devis" (2026-10, retour utilisateur) --
   display:flex (pas inline-flex) pour garantir sa propre ligne quel que soit le mode d'affichage
   du conteneur parent .seller-col-action. */
.seller-col-action .ets-mp-report-link {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}
/* Fiche produit, cas par défaut (bloc vendeur) -- ne s'applique plus qu'à la quickview modale,
   depuis que la position normale est déplacée à côté de l'image par custom.js (cf. plus bas). */
.mp_right_content .ets-mp-report-link {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 14px;
}
/* 2026-10 : emplacement déplacé par custom.js, juste sous l'image produit, aligné à droite
   (retour utilisateur : plus proche de la loupe/zoom, hors du bloc vendeur). */
.ets-mp-report-product-slot--image-position {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 0;
}
.ets-mp-report-product-slot--image-position .ets-mp-report-link {
    margin-top: 0;
}
@media (max-width: 767.98px) {
    .seller-col-action .ets-mp-report-link,
    .mp_right_content .ets-mp-report-link,
    .ets-mp-report-product-slot--image-position {
        justify-content: center;
    }
}

/* ===== Popup de signalement : version mobile-friendly (2026-10, retour utilisateur) =====
   Champs plus grands/tactiles (min-height 48px, 16px pour éviter le zoom auto iOS), coins arrondis,
   espacements plus généreux -- même niveau de soin que le formulaire de devis. Scopé strictement à
   .ets_mp_shop_report_popup pour ne jamais affecter les autres popups du module (map, manager...). */
.ets_mp_shop_report_popup .mp_pop_table_cell .panel {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    padding: 24px;
}
.ets_mp_shop_report_popup .panel-heading {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    letter-spacing: .3px;
}
.ets_mp_shop_report_popup .form-control-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}
.ets_mp_shop_report_popup .form-control,
.ets_mp_shop_report_popup select.form-control,
.ets_mp_shop_report_popup textarea.form-control,
.ets_mp_shop_report_popup input.form-control {
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid #dbe1ea;
    padding: 12px 14px;
    font-size: 16px;
    background: #fff;
}
.ets_mp_shop_report_popup textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.ets_mp_shop_report_popup .form-control:focus {
    border-color: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(31,31,31,.08);
    outline: none;
}
.ets_mp_shop_report_popup .panel-footer button {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 24px;
}
.ets_mp_shop_report_popup .panel-footer button.btn-primary {
    background: #1f1f1f;
    border-color: #1f1f1f;
}
@media (max-width: 575.98px) {
    .ets_mp_shop_report_popup .mp_pop_table {
        width: 100%;
        padding: 0;
    }
    .ets_mp_shop_report_popup .mp_pop_table_cell .panel {
        border-radius: 0;
        min-height: 100vh;
        padding: 20px 16px;
    }
    /* En plein écran le panneau touche les bords : le bouton fermer (right:-13px en version
       desktop) sortirait du viewport et serait coupé -- on le ramène dans le cadre. */
    .ets_mp_shop_report_popup .ets_mp_close_popup {
        right: 10px;
        top: 10px;
    }
    .ets_mp_shop_report_popup .row.form-group {
        display: block;
    }
    .ets_mp_shop_report_popup .row.form-group .col-lg-3,
    .ets_mp_shop_report_popup .row.form-group .col-lg-9 {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding: 0;
    }
    .ets_mp_shop_report_popup .row.form-group .col-lg-3 {
        margin-bottom: 6px;
    }
    .ets_mp_shop_report_popup .panel-footer {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .ets_mp_shop_report_popup .panel-footer button {
        width: 100%;
        float: none !important;
    }
}

/* ===== "Mes signalements" (Mon compte) — 2026-10 ===== */
.ets-mp-reports-container { max-width: 900px; }
.ets-mp-reports-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ets-mp-report-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
}
.ets-mp-report-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ets-mp-report-reference {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}
.ets-mp-report-type {
    color: #6b7280;
    font-size: 13px;
}
.ets-mp-report-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.ets-mp-report-status--new,
.ets-mp-report-status--under_review { background: #dbeafe; color: #1d4ed8; }
.ets-mp-report-status--waiting_reporter,
.ets-mp-report-status--waiting_seller { background: #fef9c3; color: #854d0e; }
.ets-mp-report-status--action_taken { background: #fee2e2; color: #b91c1c; }
.ets-mp-report-status--rejected,
.ets-mp-report-status--closed { background: #f1f5f9; color: #64748b; }
.ets-mp-report-status--contested { background: #fde68a; color: #92400e; }
.ets-mp-report-target { width: 100%; margin-top: 4px; }
.ets-mp-report-row-date { white-space: nowrap; }
