/* UPSEX_PRODUCT_FIX_TABLET_PC_V5_START */

@media screen and (min-width:768px){

  html body.product-product{
    overflow-x:clip!important;
  }

  /*
   * No alterar ni mover la galería.
   * Recuperar dimensiones naturales de la imagen principal.
   */
  html body.product-product #content .product-image-details,
  html body.product-product #content .product-image-details .product-zoom-image,
  html body.product-product #content .product-image-details .txp-gallery-stage-v2{
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }

  html body.product-product #content
  .product-image-details .product-zoom-image{
    display:block!important;
    width:100%!important;
  }

  html body.product-product #content
  .product-image-details .product-zoom-image img,
  html body.product-product #content
  .product-image-details .txp-gallery-stage-v2 img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    object-fit:contain!important;
    transform:none!important;
  }

  /*
   * Contenedor posterior:
   * sin franja, sin línea, sin borde ni espacio extraño.
   */
  html body.product-product #content
  #upsex-postbuy-fullwide-v22{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;

    width:100%!important;
    max-width:none!important;
    min-width:0!important;

    height:auto!important;
    min-height:0!important;

    margin:0!important;
    padding:0!important;
    gap:22px!important;

    border:0!important;
    border-top:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;

    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow:visible!important;
    clear:both!important;
  }

  html body.product-product #content
  #upsex-postbuy-fullwide-v22::before,
  html body.product-product #content
  #upsex-postbuy-fullwide-v22::after{
    content:none!important;
    display:none!important;
    width:0!important;
    height:0!important;
    border:0!important;
    background:none!important;
    box-shadow:none!important;
  }

  /*
   * BOLD:
   * primero y de borde a borde real de la pantalla.
   */
  html body.product-product #content
  #upsex-postbuy-fullwide-v22
  #upsex-bold-banner-v14{
    order:1!important;
    display:block!important;

    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;

    height:auto!important;
    min-height:0!important;

    margin-top:0!important;
    margin-bottom:0!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;

    padding:0!important;

    border:0!important;
    border-top:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;

    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow:hidden!important;
  }

  html body.product-product #content
  #upsex-bold-banner-v14::before,
  html body.product-product #content
  #upsex-bold-banner-v14::after{
    content:none!important;
    display:none!important;
    border:0!important;
    background:none!important;
  }

  html body.product-product #content
  #upsex-bold-banner-v14 img,
  html body.product-product #content
  #upsex-bold-banner-v14 .upsex-bold-banner-v14-image,
  html body.product-product #content
  #upsex-bold-banner-v14 picture{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    object-fit:cover!important;
    transform:none!important;
  }

  /*
   * CONFIANZA:
   * después de Bold, centrado y sin textos montados.
   */
  html body.product-product #content
  #upsex-postbuy-fullwide-v22
  .upsex-postbuy-trust-v22{
    order:2!important;
    display:block!important;

    width:calc(100% - 40px)!important;
    max-width:1320px!important;
    min-width:0!important;

    height:auto!important;
    min-height:0!important;

    margin:0 auto!important;
    padding:20px!important;

    border:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body.product-product
  .upx-trust-title-v5{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:0!important;

    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;

    font-size:clamp(22px,2.2vw,31px)!important;
    line-height:1.18!important;
    letter-spacing:-.025em!important;
  }

  html body.product-product
  .upx-trust-grid-v5{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;

    width:100%!important;
    max-width:100%!important;
    min-width:0!important;

    height:auto!important;
    min-height:0!important;

    margin:0!important;
    padding:0!important;
    gap:14px!important;

    overflow:visible!important;
    box-sizing:border-box!important;
  }

  html body.product-product
  .upx-trust-card-v5{
    display:block!important;
    position:relative!important;

    width:auto!important;
    max-width:none!important;
    min-width:0!important;

    height:auto!important;
    min-height:150px!important;
    max-height:none!important;

    margin:0!important;
    padding:18px 16px!important;

    box-sizing:border-box!important;
    overflow:hidden!important;
    transform:none!important;
  }

  html body.product-product
  .upx-trust-card-v5 h2,
  html body.product-product
  .upx-trust-card-v5 h3,
  html body.product-product
  .upx-trust-card-v5 h4,
  html body.product-product
  .upx-trust-card-v5 strong{
    display:block!important;
    position:static!important;

    width:auto!important;
    max-width:100%!important;
    min-width:0!important;

    height:auto!important;
    min-height:0!important;

    margin:0 0 8px!important;
    padding:0!important;

    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    text-overflow:clip!important;

    font-size:clamp(14px,1.25vw,18px)!important;
    line-height:1.22!important;
    transform:none!important;
  }

  html body.product-product
  .upx-trust-card-v5 p{
    display:block!important;
    position:static!important;

    width:auto!important;
    max-width:100%!important;
    min-width:0!important;

    height:auto!important;
    min-height:0!important;

    margin:0!important;
    padding:0!important;

    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    text-overflow:clip!important;

    font-size:clamp(11px,.95vw,14px)!important;
    line-height:1.42!important;
    transform:none!important;
  }
}

/*
 * Tablet horizontal y tablet pequeña:
 * dos tarjetas por fila para impedir montajes.
 */
@media screen and (min-width:768px) and (max-width:1023px){

  html body.product-product #content
  #upsex-postbuy-fullwide-v22
  .upsex-postbuy-trust-v22{
    width:calc(100% - 24px)!important;
    padding:16px!important;
  }

  html body.product-product
  .upx-trust-grid-v5{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  html body.product-product
  .upx-trust-title-v5{
    white-space:normal!important;
    font-size:22px!important;
  }

  html body.product-product
  .upx-trust-card-v5{
    min-height:132px!important;
  }
}

/* UPSEX_PRODUCT_FIX_TABLET_PC_V5_END */


/* UPSEX_QUITAR_RETAZO_Y_FILTRO_PC_V7_START */
@media screen and (min-width:768px){

    /*
     * Retazo degradado vacío situado inmediatamente
     * encima del banner Bold.
     * No se modifica el banner ni el módulo de confianza.
     */
    html body.product-product
    #upsex-postbuy-fullwide-v22 > #upsex-trust-local-v17{
        display:none!important;
        visibility:hidden!important;
        width:0!important;
        height:0!important;
        min-width:0!important;
        min-height:0!important;
        max-width:0!important;
        max-height:0!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        overflow:hidden!important;
        opacity:0!important;
        pointer-events:none!important;
    }

    /*
     * Filtro de categorías que aparece incorrectamente
     * después del footer en las fichas de producto.
     */
    html body.product-product
    section.upsex-price-filter-sheet-v6{
        display:none!important;
        visibility:hidden!important;
        width:0!important;
        height:0!important;
        min-height:0!important;
        max-height:0!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        overflow:hidden!important;
        opacity:0!important;
        pointer-events:none!important;
    }
}
/* UPSEX_QUITAR_RETAZO_Y_FILTRO_PC_V7_END */








/* UPSEX_POSTBUY_ESTABLE_PC_V10_START */
@media screen and (min-width:768px){

    /*
     * Los módulos originales quedan retirados visualmente.
     * Los scripts antiguos pueden intentar moverlos,
     * pero ya no vuelven a aparecer durante el scroll.
     */
    html body.product-product
    .upsex-postbuy-obsoleto-v10,
    html body.product-product
    #upsex-postbuy-fullwide-v22.upsex-postbuy-obsoleto-v10,
    html body.product-product
    .upsex-postbuy-original-obsoleto-v10{
        display:none!important;
        visibility:hidden!important;
        width:0!important;
        height:0!important;
        min-width:0!important;
        min-height:0!important;
        max-width:0!important;
        max-height:0!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        overflow:hidden!important;
        opacity:0!important;
        pointer-events:none!important;
    }

    /*
     * Retazo degradado vacío original.
     * Se oculta sin importar dónde intente colocarlo otro script.
     */
    html body.product-product
    section#upsex-trust-local-v17{
        display:none!important;
        visibility:hidden!important;
        width:0!important;
        height:0!important;
        min-width:0!important;
        min-height:0!important;
        max-width:0!important;
        max-height:0!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        overflow:hidden!important;
        opacity:0!important;
        pointer-events:none!important;
    }

    /*
     * Único bloque estable:
     * Bold primero y confianza después.
     */
    html body.product-product
    #upsex-postbuy-estable-v10{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:22px!important;

        width:100%!important;
        max-width:none!important;
        min-width:0!important;

        margin:0!important;
        padding:0!important;

        position:relative!important;
        inset:auto!important;
        left:auto!important;
        right:auto!important;
        top:auto!important;
        bottom:auto!important;

        transform:none!important;
        translate:none!important;
        scale:none!important;

        animation:none!important;
        transition:none!important;
        will-change:auto!important;

        clear:both!important;
        overflow:visible!important;
        box-sizing:border-box!important;
        isolation:isolate!important;
    }

    html body.product-product
    #upsex-postbuy-estable-v10,
    html body.product-product
    #upsex-postbuy-estable-v10 *{
        box-sizing:border-box!important;
    }

    /*
     * Banner Bold estable.
     */
    html body.product-product
    #upsex-bold-banner-estable-v10{
        order:1!important;
        display:block!important;

        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        height:auto!important;

        margin:0!important;
        padding:0!important;

        position:relative!important;
        inset:auto!important;

        transform:none!important;
        translate:none!important;
        scale:none!important;

        animation:none!important;
        transition:none!important;
        will-change:auto!important;

        overflow:hidden!important;
        background:none!important;
        border:0!important;
        box-shadow:none!important;
    }

    html body.product-product
    #upsex-bold-banner-estable-v10::before,
    html body.product-product
    #upsex-bold-banner-estable-v10::after{
        content:none!important;
        display:none!important;
    }

    html body.product-product
    #upsex-bold-banner-estable-v10 picture,
    html body.product-product
    #upsex-bold-banner-estable-v10 img{
        display:block!important;

        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        height:auto!important;
        max-height:none!important;

        margin:0!important;
        padding:0!important;

        position:static!important;
        inset:auto!important;

        object-fit:contain!important;
        object-position:center!important;

        transform:none!important;
        translate:none!important;
        scale:none!important;

        animation:none!important;
        transition:none!important;
        will-change:auto!important;
    }

    /*
     * Módulo de confianza estable.
     */
    html body.product-product
    #upsex-confianza-estable-v10{
        order:2!important;
        display:block!important;

        width:calc(100% - 40px)!important;
        max-width:1320px!important;
        min-width:0!important;

        height:auto!important;
        min-height:0!important;

        margin:0 auto 32px!important;
        padding:
            clamp(24px,3vw,38px)
            clamp(10px,1.5vw,20px)
            clamp(25px,3vw,38px)
            !important;

        position:relative!important;
        inset:auto!important;

        transform:none!important;
        translate:none!important;
        scale:none!important;

        animation:none!important;
        transition:none!important;
        will-change:auto!important;

        overflow:visible!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-header-v17{
        width:100%!important;
        max-width:100%!important;
        margin:0 auto 22px!important;
        text-align:center!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-label-v17{
        display:table!important;
        margin:0 auto 12px!important;
        white-space:nowrap!important;
        text-align:center!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-title-v17{
        width:100%!important;
        max-width:100%!important;
        margin:0 auto!important;

        font-size:clamp(27px,3vw,42px)!important;
        line-height:1.12!important;
        text-align:center!important;
        text-wrap:balance!important;

        word-break:normal!important;
        overflow-wrap:normal!important;
        hyphens:none!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-grid-v17{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        grid-auto-flow:row!important;
        align-items:stretch!important;

        gap:14px!important;

        width:100%!important;
        max-width:100%!important;
        min-width:0!important;

        margin:0!important;
        padding:0!important;

        transform:none!important;
        animation:none!important;
        transition:none!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-card-v17{
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:flex-start!important;

        width:100%!important;
        min-width:0!important;
        height:100%!important;
        min-height:150px!important;

        margin:0!important;
        padding:
            17px
            clamp(10px,1.1vw,16px)
            18px
            !important;

        position:relative!important;
        inset:auto!important;

        text-align:center!important;

        transform:none!important;
        translate:none!important;
        scale:none!important;

        animation:none!important;
        transition:none!important;
        will-change:auto!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-icon-v17{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;

        flex:0 0 auto!important;

        width:48px!important;
        height:48px!important;

        margin:0 auto 11px!important;

        position:relative!important;
        inset:auto!important;

        transform:none!important;
        translate:none!important;
        scale:none!important;

        animation:none!important;
        transition:none!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-icon-v17 svg{
        display:block!important;
        width:24px!important;
        height:24px!important;
        margin:auto!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-copy-v17{
        display:block!important;

        width:100%!important;
        max-width:100%!important;
        min-width:0!important;

        margin:0!important;
        padding:0!important;

        text-align:center!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-card-title-v17{
        display:block!important;

        width:100%!important;
        max-width:100%!important;

        margin:0 0 5px!important;
        padding:0!important;

        font-size:clamp(14px,1.08vw,16px)!important;
        font-weight:750!important;
        line-height:1.2!important;

        text-align:center!important;
        text-wrap:balance!important;

        white-space:normal!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
        hyphens:none!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-card-text-v17{
        display:block!important;

        width:100%!important;
        max-width:235px!important;

        margin:0 auto!important;
        padding:0!important;

        font-size:clamp(12px,.92vw,13.5px)!important;
        font-weight:450!important;
        line-height:1.36!important;

        text-align:center!important;
        text-wrap:pretty!important;

        white-space:normal!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
        hyphens:none!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-card-text-v17
    + .upsex-trust-card-text-v17{
        margin-top:4px!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-phone-v17{
        display:inline-block!important;
        white-space:nowrap!important;
        word-break:keep-all!important;
        overflow-wrap:normal!important;
    }
}

/* PC: cuatro cards en una sola fila. */
@media screen and (min-width:992px){

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-grid-v17{
        grid-template-columns:
            repeat(4,minmax(0,1fr))
            !important;

        gap:clamp(10px,1.15vw,16px)!important;
    }
}

/* Tableta: dos columnas. */
@media screen and (min-width:768px) and (max-width:991px){

    html body.product-product
    #upsex-confianza-estable-v10{
        width:calc(100% - 24px)!important;
        padding:24px 12px 28px!important;
    }

    html body.product-product
    #upsex-confianza-estable-v10
    .upsex-trust-grid-v17{
        grid-template-columns:
            repeat(2,minmax(0,1fr))
            !important;
    }
}

/* UPSEX_POSTBUY_ESTABLE_PC_V10_END */


/* UPSEX_BOLD_FULLWIDTH_REAL_V11_START */
@media screen and (min-width:768px){

    html body.product-product{
        overflow-x:hidden!important;
    }

    /*
     * Banner estable a todo el ancho real de la pantalla.
     * No modifica confianza ni el orden de los módulos.
     */
    html body.product-product
    #upsex-postbuy-estable-v10
    #upsex-bold-banner-estable-v10{
        display:block!important;

        position:relative!important;
        left:50%!important;
        right:auto!important;

        width:100vw!important;
        max-width:100vw!important;
        min-width:100vw!important;

        margin-left:-50vw!important;
        margin-right:0!important;
        margin-top:0!important;
        margin-bottom:0!important;

        padding:0!important;

        transform:none!important;
        translate:none!important;
        animation:none!important;
        transition:none!important;

        overflow:hidden!important;
        box-sizing:border-box!important;
    }

    html body.product-product
    #upsex-postbuy-estable-v10
    #upsex-bold-banner-estable-v10
    picture,
    html body.product-product
    #upsex-postbuy-estable-v10
    #upsex-bold-banner-estable-v10
    img{
        display:block!important;

        width:100%!important;
        max-width:100%!important;
        min-width:100%!important;
        height:auto!important;

        margin:0!important;
        padding:0!important;

        object-fit:contain!important;
        object-position:center!important;

        transform:none!important;
        animation:none!important;
        transition:none!important;
    }
}
/* UPSEX_BOLD_FULLWIDTH_REAL_V11_END */
