.rmq-mp-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    font-family: inherit;
}

.rmq-mp-header {
    text-align: center;
    margin-bottom: 20px;
}

.rmq-mp-subtitle {
    color: #c0262d; /* rouge exemple */
    font-weight: 600;
    margin-top: 5px;
}

.rmq-mp-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.rmq-mp-tab {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding-bottom: 4px;
    position: relative;
}

.rmq-mp-tab--active {
    font-weight: 700;
}

.rmq-mp-tab--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    bottom: 0;
    background: #c0262d;
}

.rmq-mp-phases {
    position: relative;
    display: flex;
     justify-content: center;
}

.rmq-mp-phase {
    display: none;
    width: 80%;
    padding: 20px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}

.rmq-mp-phase--active {
    display: flex;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    animation: rmqFadeIn 0.5s cubic-bezier(.4,0,.2,1);
}

@keyframes rmqFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Popup */
.rmq-mp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
    display: block !important;
}
.rmq-mp-modal--visible {
    opacity: 1;
    pointer-events: auto;
    animation: rmqFadeIn 0.4s cubic-bezier(.4,0,.2,1);
}

.rmq-mp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.rmq-mp-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 380px;
    background: #fff;
    border-radius: 18px;
    padding: 0 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.rmq-mp-modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: none;
    background: #c0262d;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.rmq-mp-modal-body {
    margin-top: 20px;
}

/* Carte produit */
.rmq-mp-product-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rmq-mp-card h4{
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}
.rmq-mp-card-content {
    padding: 10px;
    font-size: 12px;
}

.rmq-mp-product-image img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.rmq-mp-product-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.rmq-mp-product-excerpt {
    font-size: 14px;
    margin-bottom: 10px;
}

.rmq-mp-product-price {
    font-weight: 700;
    margin-bottom: 15px;
}

.rmq-mp-product-button {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid #c0262d;
    padding: 8px 18px;
    text-decoration: none;
    color: #c0262d;
    font-weight: 600;
}

.rmq-mp-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
}
.rmq-mp-col {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
}

@media (min-width: 700px) {
    .rmq-mp-col {
        width: 50%;
        max-width: 50%;
    }
   
}
@media (max-width: 700px) {
    .rmq-mp-row {
        flex-direction: column;
    }
}
.rmq-mp-card {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    position: relative;
}

.rmq-mp-card.rmq-mp-card--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: rmqCardFadeIn 0.5s cubic-bezier(.4,0,.2,1);
}

@keyframes rmqCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.rmq-mp-svg{
   min-width: 300px;
    min-height: 300px;
}

