/* Link nella PDP — stile minimo, personalizzabile dal CSS custom in admin */
.nvl-garanzia-legale {
    margin: 0.5em 0 1em;
    font-size: 0.9em;
}

.nvl-garanzia-legale .nvl-gl-link {
    text-decoration: underline;
    cursor: pointer;
}

/* Contenuto popup (comune a Magnific Popup e <dialog>) */
.nvl-gl-popup {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
}

.nvl-gl-popup-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Magnific Popup (Flatsome): pulsante chiudi leggibile sullo sfondo bianco */
.nvl-gl-mfp .nvl-gl-popup .mfp-close {
    color: #333;
    opacity: 1;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 8px;
    right: 8px;
}

/* Fallback <dialog> */
.nvl-gl-dialog {
    padding: 0;
    border: 0;
    width: min(800px, 92vw);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
}

.nvl-gl-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.nvl-gl-dialog-close {
    position: sticky;
    top: 8px;
    float: right;
    margin: 8px 8px -48px 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
}
