
.elementor-widget-relifi_product_showcase{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
}

.rps-section,
.rps-section *{
    box-sizing:border-box;
}

.rps-section{
    width:100%;
    padding:0 0 20px;
    background:#fff;
    color:#1a1d1b;
    font-family:Arial,Helvetica,sans-serif!important;
}

.rps-inner{
    width:calc(100% - 34px);
    max-width:1330px;
    margin:0 auto;
}

.rps-layout{
    --rps-media:56.5%;
    display:grid;
    grid-template-columns:minmax(0,var(--rps-media)) minmax(390px,1fr);
    gap:24px;
    align-items:start;
}

/* =========================================================
   LEFT GALLERY — REFERENCE MATCH
========================================================= */
.rps-media-column{
    display:grid;
    grid-template-columns:74px minmax(0,1fr);
    gap:14px;
    min-width:0;
}

.rps-thumbnails{
    display:flex;
    flex-direction:column;
    gap:9px;
    max-height:665px;
    overflow-y:auto;
    overflow-x:hidden;
    padding:0 1px 2px;
    scrollbar-width:thin;
    scrollbar-color:#b8c8be transparent;
}

.rps-thumb{
    appearance:none;
    width:72px;
    height:74px;
    flex:0 0 74px;
    margin:0;
    padding:2px;
    overflow:hidden;
    border:1px solid #d9dfdb;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
}

.rps-thumb:hover,
.rps-thumb.is-active{
    border-color:#008b4a;
    box-shadow:0 0 0 1px #008b4a inset;
}

.rps-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    border-radius:5px;
    background:#fff;
}

.rps-main-media{
    width:100%;
    min-height:665px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid #d6dfd9;
    border-radius:10px;
    background:#fff;
}

.rps-main-image{
    display:block;
    width:100%;
    height:665px;
    object-fit:cover;
    object-position:center;
}

.rps-placeholder{
    max-width:300px;
    padding:34px;
    color:#7d8882;
    font-size:14px;
    line-height:1.45;
    text-align:center;
}

/* =========================================================
   RIGHT PRODUCT CARD
========================================================= */
.rps-info-card{
    position:relative;
    min-height:665px;
    padding:10px 18px 16px;
    border:1px solid #d6dfd9;
    border-radius:10px;
    background:#fff;
}

.rps-topline{
    min-height:38px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
}

.rps-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 12px;
    border-radius:999px;
    background:#008b4a;
    color:#fff!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:700!important;
}

.rps-side-image{
    position:absolute;
    top:9px;
    right:9px;
    width:91px;
    height:91px;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:6px;
    background:#f6f3ec;
}

.rps-title{
    max-width:calc(100% - 104px);
    margin:6px 0 12px!important;
    padding:0!important;
    color:#101412!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:30px!important;
    line-height:1.04!important;
    font-weight:800!important;
    letter-spacing:-1px!important;
    text-transform:none!important;
}

.rps-description{
    max-width:92%;
    margin:0 0 17px!important;
    color:#626e67!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:13px!important;
    line-height:1.48!important;
    font-weight:400!important;
}

/* =========================================================
   CUSTOMER PROOF
========================================================= */
.rps-proof{
    min-height:55px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border:1.5px solid #008b4a;
    border-radius:7px;
    background:#fff;
}

.rps-proof-circles{
    display:flex;
    align-items:center;
    flex:0 0 auto;
}

.rps-proof-circles span{
    width:28px;
    height:28px;
    margin-left:-4px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid #07884c;
    border-radius:50%;
    background:#f2f5f3;
    color:#067c46;
    font-size:7px;
    line-height:1;
    font-weight:700;
}

.rps-proof-circles span:first-child{
    margin-left:0;
}

.rps-proof-circles img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.rps-stars{
    color:#f5aa00!important;
    font-size:12px;
    line-height:1;
    letter-spacing:.8px;
    white-space:nowrap;
}

.rps-proof strong{
    color:#006b3d!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:8px!important;
    line-height:1.15!important;
    font-weight:700!important;
    white-space:nowrap;
    text-transform:uppercase;
}

.rps-rating{
    min-height:45px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin:4px 0 10px;
    color:#5d6862;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:11px;
}

.rps-rating i{
    width:1px;
    height:15px;
    display:inline-block;
    background:#d6ded9;
}

.rps-rating strong{
    color:#087a46;
    font-size:10px;
    font-weight:700;
}

/* =========================================================
   PRICE / STOCK — REFERENCE MATCH
========================================================= */
.rps-price{
    margin:0 0 11px;
    color:#111513!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:25px!important;
    line-height:1!important;
    font-weight:800!important;
}

.rps-price-prefix{
    font-weight:800;
}

.rps-price .woocommerce-Price-amount,
.rps-price .amount{
    color:#111513!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:25px!important;
    font-weight:800!important;
}

.rps-price del{
    opacity:.45;
    font-size:13px!important;
}

.rps-price ins{
    text-decoration:none!important;
}

.rps-stock{
    display:flex;
    align-items:center;
    gap:7px;
    margin:0 0 22px;
    color:#17201b;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:10px;
}

.rps-stock-dot{
    color:#0aa35c;
    font-size:14px;
    line-height:1;
}

/* =========================================================
   BENEFIT STRIP — DISTINCT REFERENCE ICONS
========================================================= */
.rps-benefits{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin:0 0 18px;
    padding:0;
    border-top:1px solid #d9e1dc;
    border-bottom:1px solid #d9e1dc;
}

.rps-benefit{
    min-height:61px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
    padding:9px 7px;
    color:#24332b;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:9.5px;
    line-height:1.13;
    font-weight:600;
    text-align:left;
}

.rps-benefit-icon{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#008b4a;
}

.rps-benefit-icon svg{
    width:25px;
    height:25px;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.7!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* =========================================================
   BUTTONS
========================================================= */
.rps-cart,
.rps-buy{
    width:100%;
    min-height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 0 9px;
    border-radius:7px;
    text-decoration:none!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:800!important;
}

.rps-cart{
    background:#078a49;
    color:#fff!important;
}

.rps-buy{
    background:#ffb600;
    color:#101310!important;
}

.rps-cart:hover{
    background:#047b40;
    color:#fff!important;
}

.rps-buy:hover{
    filter:brightness(.98);
    color:#101310!important;
}

.rps-cart-icon{
    width:18px;
    height:18px;
    margin-right:7px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.rps-cart-icon svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:#fff;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* =========================================================
   AUTHENTIC PRODUCT
========================================================= */
.rps-authentic{
    min-height:45px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 2px 9px;
    border-bottom:1px solid #dfe5e1;
    color:#202a25;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:10px;
}

.rps-authentic-icon{
    width:19px;
    height:19px;
    color:#07884a;
}

.rps-authentic-icon svg{
    display:block;
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* =========================================================
   SERVICE ROWS
========================================================= */
.rps-services{
    padding-top:7px;
}

.rps-service{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 0;
}

.rps-service-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eef8f2;
    color:#0b8750;
    font-size:14px;
}

.rps-service-icon svg{
    width:17px;
    height:17px;
    fill:currentColor;
}

.rps-service strong,
.rps-service span{
    display:block;
    font-family:Arial,Helvetica,sans-serif!important;
}

.rps-service strong{
    margin-bottom:2px;
    color:#1e2924;
    font-size:10.5px;
    line-height:1.15;
    font-weight:700;
}

.rps-service span{
    color:#8a948f;
    font-size:8.5px;
    line-height:1.2;
}

/* =========================================================
   LAPTOP
========================================================= */
@media(max-width:1100px){
    .rps-layout{
        grid-template-columns:minmax(0,52%) minmax(350px,1fr);
        gap:18px;
    }

    .rps-media-column{
        grid-template-columns:64px minmax(0,1fr);
        gap:10px;
    }

    .rps-thumb{
        width:62px;
        height:68px;
        flex-basis:68px;
    }

    .rps-title{
        font-size:25px!important;
    }

    .rps-proof{
        flex-wrap:wrap;
    }

    .rps-proof strong{
        white-space:normal;
    }

    .rps-benefit{
        font-size:8.5px;
        gap:6px;
    }
}

/* =========================================================
   TABLET / MOBILE
========================================================= */
@media(max-width:800px){
    .elementor-widget-relifi_product_showcase{
        width:100vw!important;
        max-width:100vw!important;
    }

    .rps-section{
        padding-bottom:14px;
    }

    .rps-inner{
        width:calc(100% - 18px);
    }

    .rps-layout{
        display:flex;
        flex-direction:column;
        gap:12px;
    }

    .rps-mobile-info-first .rps-info-card{
        order:-1;
    }

    .rps-media-column{
        width:100%;
        display:flex;
        flex-direction:column-reverse;
        gap:9px;
    }

    .rps-thumbnails{
        width:100%;
        max-height:none;
        flex-direction:row;
        gap:8px;
        overflow-x:auto;
        overflow-y:hidden;
        padding:1px 0 3px;
    }

    .rps-thumb{
        width:65px;
        height:69px;
        flex:0 0 65px;
    }

    .rps-main-media{
        min-height:410px!important;
    }

    .rps-main-image{
        height:410px!important;
        object-fit:contain;
    }

    .rps-info-card{
        min-height:0;
        padding:10px 15px 15px;
    }

    .rps-side-image{
        width:72px;
        height:72px;
    }

    .rps-title{
        max-width:calc(100% - 82px);
        font-size:24px!important;
        letter-spacing:-.7px!important;
    }

    .rps-benefits{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .rps-benefit{
        min-height:55px;
        padding:8px 12px;
    }
}

@media(max-width:480px){
    .rps-main-media{
        min-height:330px!important;
    }

    .rps-main-image{
        height:330px!important;
    }

    .rps-side-image{
        width:61px;
        height:61px;
    }

    .rps-title{
        max-width:calc(100% - 70px);
        font-size:21px!important;
        letter-spacing:-.55px!important;
    }

    .rps-description{
        max-width:100%;
        font-size:11.5px!important;
    }

    .rps-proof{
        align-items:flex-start;
    }

    .rps-proof-circles span{
        width:24px;
        height:24px;
    }

    .rps-proof strong{
        font-size:7px!important;
    }

    .rps-price,
    .rps-price .woocommerce-Price-amount,
    .rps-price .amount{
        font-size:23px!important;
    }

    .rps-cart,
    .rps-buy{
        min-height:48px;
        font-size:13px!important;
    }
}


/* =========================================================
   v1.2.1 — THUMBNAIL + SERVICE ROW REFERENCE FIX
========================================================= */

@media (min-width:801px){

    /* Reference thumbnails fill each card rather than looking tiny/centered. */
    .rps-media-column{
        grid-template-columns:78px minmax(0,1fr)!important;
        gap:13px!important;
    }

    .rps-thumbnails{
        gap:9px!important;
        padding:0!important;
    }

    .rps-thumb{
        width:76px!important;
        height:78px!important;
        flex:0 0 78px!important;
        padding:0!important;
        border-radius:8px!important;
        background:#f6f7f5!important;
    }

    .rps-thumb img{
        width:100%!important;
        height:100%!important;
        padding:0!important;
        border-radius:7px!important;
        object-fit:cover!important;
        object-position:center!important;
        background:#f6f7f5!important;
    }

    .rps-thumb.is-active{
        border:2px solid #008b4a!important;
        box-shadow:none!important;
    }

    /* Reference service rows are compact and use four distinct outline icons. */
    .rps-services{
        padding-top:8px!important;
    }

    .rps-service{
        min-height:52px!important;
        padding:7px 0!important;
        gap:11px!important;
    }

    .rps-service-icon{
        width:34px!important;
        height:34px!important;
        flex:0 0 34px!important;
        border-radius:50%!important;
        background:#eef8f2!important;
        color:#0b8750!important;
        font-size:0!important;
    }

    .rps-service-icon svg{
        width:19px!important;
        height:19px!important;
        fill:none!important;
        stroke:currentColor!important;
        stroke-width:1.65!important;
        stroke-linecap:round!important;
        stroke-linejoin:round!important;
    }

    .rps-service strong{
        margin:0 0 2px!important;
        color:#1d2923!important;
        font-family:Arial,Helvetica,sans-serif!important;
        font-size:10px!important;
        line-height:1.12!important;
        font-weight:700!important;
        letter-spacing:0!important;
    }

    .rps-service span{
        color:#8c9690!important;
        font-family:Arial,Helvetica,sans-serif!important;
        font-size:8px!important;
        line-height:1.2!important;
        font-weight:400!important;
    }

    /* Keep the service block visually close to reference. */
    .rps-authentic{
        margin-bottom:0!important;
    }
}

@media (max-width:800px){

    .rps-thumb{
        width:68px!important;
        height:70px!important;
        flex:0 0 68px!important;
        padding:0!important;
    }

    .rps-thumb img{
        object-fit:cover!important;
        padding:0!important;
    }

    .rps-service-icon{
        font-size:0!important;
    }

    .rps-service-icon svg{
        width:18px!important;
        height:18px!important;
        fill:none!important;
        stroke:currentColor!important;
        stroke-width:1.65!important;
        stroke-linecap:round!important;
        stroke-linejoin:round!important;
    }
}


/* =========================================================
   v1.3.0 AUTOPLAY + SWIPE
========================================================= */

.rps-main-media{
    position:relative;
    user-select:none;
    -webkit-user-select:none;
    touch-action:pan-y;
}

.rps-main-image{
    -webkit-user-drag:none;
    user-drag:none;
    pointer-events:none;
    opacity:1;
    transition:opacity .18s ease;
}

.rps-main-image.rps-is-changing{
    opacity:.22;
}

.rps-media-column[data-rps-swipe-desktop="1"] .rps-main-media{
    cursor:grab;
}

.rps-media-column[data-rps-swipe-desktop="1"].rps-is-dragging .rps-main-media{
    cursor:grabbing;
}

@media(max-width:800px){
    .rps-main-media{
        touch-action:pan-y;
    }
}


/* =========================================================
   v1.4.0 — REFERENCE RIGHT CARD V2
   Matches supplied reference desktop/mobile proportions.
   All important sizes are driven by Elementor controls.
========================================================= */

.rps-reference-v2{
    font-family:Arial,Helvetica,sans-serif!important;
}

.rps-reference-v2 .rps-info-card{
    padding-left:var(--rps-ref-card-padding)!important;
    padding-right:var(--rps-ref-card-padding)!important;
    border-color:#d6dfd9!important;
    border-radius:10px!important;
}

.rps-reference-v2 .rps-title{
    font-size:var(--rps-ref-title)!important;
    line-height:1.04!important;
    font-weight:800!important;
    letter-spacing:-.9px!important;
}

.rps-reference-v2 .rps-description{
    font-size:var(--rps-ref-description)!important;
    line-height:1.45!important;
}

.rps-reference-v2 .rps-side-image{
    width:var(--rps-ref-side-image)!important;
    height:var(--rps-ref-side-image)!important;
    max-width:var(--rps-ref-side-image)!important;
    max-height:var(--rps-ref-side-image)!important;
}

.rps-reference-v2 .rps-proof{
    min-height:50px!important;
    padding:7px 10px!important;
    border:1.5px solid #078a49!important;
    border-radius:8px!important;
    background:#f8fcf9!important;
}

.rps-reference-v2 .rps-proof-circles span{
    width:var(--rps-ref-avatar)!important;
    height:var(--rps-ref-avatar)!important;
    min-width:var(--rps-ref-avatar)!important;
}

.rps-reference-v2 .rps-proof strong{
    font-size:var(--rps-ref-proof-text)!important;
    line-height:1.05!important;
}

.rps-reference-v2 .rps-rating{
    min-height:45px!important;
    margin:4px 0 8px!important;
    padding:4px 0 7px!important;
    border-bottom:1px solid #dce3de!important;
    font-size:var(--rps-ref-rating)!important;
}

.rps-reference-v2 .rps-rating .rps-stars{
    font-size:12px!important;
}

.rps-reference-v2 .rps-rating strong{
    font-size:var(--rps-ref-trust)!important;
    line-height:1.08!important;
}

.rps-reference-v2 .rps-price,
.rps-reference-v2 .rps-price .woocommerce-Price-amount,
.rps-reference-v2 .rps-price .amount{
    font-size:var(--rps-ref-price)!important;
    line-height:1!important;
    font-weight:800!important;
}

.rps-reference-v2 .rps-stock{
    margin-bottom:17px!important;
    font-size:10px!important;
}

.rps-reference-v2 .rps-benefits{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    margin-bottom:16px!important;
    border-top:1px solid #d9e1dc!important;
    border-bottom:1px solid #d9e1dc!important;
}

.rps-reference-v2 .rps-benefit{
    min-width:0!important;
    min-height:57px!important;
    gap:7px!important;
    padding:7px 4px!important;
    font-size:var(--rps-ref-benefit-text)!important;
    line-height:1.08!important;
    font-weight:700!important;
}

.rps-reference-v2 .rps-benefit-icon{
    width:var(--rps-ref-benefit-icon)!important;
    height:var(--rps-ref-benefit-icon)!important;
    min-width:var(--rps-ref-benefit-icon)!important;
    flex:0 0 var(--rps-ref-benefit-icon)!important;
    border-radius:50%!important;
    background:#eef8f2!important;
}

.rps-reference-v2 .rps-benefit-icon svg{
    width:60%!important;
    height:60%!important;
}

.rps-reference-v2 .rps-cart,
.rps-reference-v2 .rps-buy{
    min-height:var(--rps-ref-button-height)!important;
    font-size:var(--rps-ref-button-text)!important;
    font-weight:800!important;
    border-radius:7px!important;
}

.rps-reference-v2 .rps-authentic{
    min-height:45px!important;
    padding:2px 2px 8px!important;
    font-size:var(--rps-ref-auth-text)!important;
}

.rps-reference-v2 .rps-authentic strong{
    font-size:var(--rps-ref-auth-text)!important;
}

.rps-reference-v2 .rps-services{
    padding-top:8px!important;
}

.rps-reference-v2 .rps-service{
    min-height:51px!important;
    gap:10px!important;
    padding:6px 0!important;
}

.rps-reference-v2 .rps-service-icon{
    width:var(--rps-ref-service-icon)!important;
    height:var(--rps-ref-service-icon)!important;
    min-width:var(--rps-ref-service-icon)!important;
    flex:0 0 var(--rps-ref-service-icon)!important;
}

.rps-reference-v2 .rps-service-icon svg{
    width:50%!important;
    height:50%!important;
}

.rps-reference-v2 .rps-service strong{
    font-size:var(--rps-ref-service-title)!important;
    line-height:1.12!important;
}

.rps-reference-v2 .rps-service span{
    font-size:var(--rps-ref-service-subtitle)!important;
    line-height:1.2!important;
}

/* WhatsApp reference box */
.rps-whatsapp-help{
    width:100%;
    min-height:58px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 18px;
    align-items:center;
    gap:10px;
    margin-top:8px;
    padding:8px 11px;
    border:1px solid #b9dcc7;
    border-radius:9px;
    background:#fbfffc;
    color:#152019!important;
    text-decoration:none!important;
}

.rps-whatsapp-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#20d36f;
    color:#fff;
}

.rps-whatsapp-icon svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.rps-whatsapp-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.rps-whatsapp-copy strong{
    color:#17221c!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:700!important;
}

.rps-whatsapp-copy small{
    color:#7f8b84!important;
    font-size:8.5px!important;
    line-height:1.1!important;
}

.rps-whatsapp-arrow{
    justify-self:end;
    color:#008b4a;
    font-size:22px;
    line-height:1;
}

/* Desktop reference balance */
@media(min-width:801px){
    .rps-reference-v2 .rps-info-card{
        padding-top:10px!important;
    }

    .rps-reference-v2 .rps-title{
        max-width:calc(100% - (var(--rps-ref-side-image) + 14px))!important;
    }
}

/* Mobile reference: compact card, 4 benefit items in one row */
@media(max-width:800px){
    .rps-reference-v2 .rps-inner{
        width:calc(100% - 12px)!important;
    }

    .rps-reference-v2 .rps-info-card{
        padding-top:10px!important;
        padding-bottom:14px!important;
        border-radius:10px!important;
    }

    .rps-reference-v2 .rps-title{
        max-width:calc(100% - (var(--rps-ref-side-image) + 12px))!important;
        margin-top:5px!important;
        margin-bottom:10px!important;
    }

    .rps-reference-v2 .rps-description{
        max-width:100%!important;
        margin-bottom:14px!important;
    }

    .rps-reference-v2 .rps-proof{
        flex-wrap:nowrap!important;
        gap:6px!important;
    }

    .rps-reference-v2 .rps-proof strong{
        white-space:nowrap!important;
    }

    .rps-reference-v2 .rps-rating{
        flex-wrap:nowrap!important;
        gap:6px!important;
        overflow:hidden!important;
    }

    .rps-reference-v2 .rps-rating strong{
        white-space:normal!important;
        max-width:130px!important;
    }

    .rps-reference-v2 .rps-benefits{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }

    .rps-reference-v2 .rps-benefit{
        min-height:58px!important;
        flex-direction:row!important;
        justify-content:center!important;
        gap:5px!important;
        padding:6px 2px!important;
        text-align:left!important;
    }

    .rps-reference-v2 .rps-benefit > span:last-child{
        min-width:0!important;
        display:block!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
    }

    .rps-reference-v2 .rps-cart,
    .rps-reference-v2 .rps-buy{
        width:100%!important;
        max-width:100%!important;
    }

    .rps-reference-v2 .rps-service{
        min-height:52px!important;
    }

    .rps-whatsapp-help{
        min-height:58px!important;
    }
}

@media(max-width:480px){
    .rps-reference-v2 .rps-title{
        font-size:var(--rps-ref-title)!important;
    }

    .rps-reference-v2 .rps-description{
        font-size:var(--rps-ref-description)!important;
    }

    .rps-reference-v2 .rps-price,
    .rps-reference-v2 .rps-price .woocommerce-Price-amount,
    .rps-reference-v2 .rps-price .amount{
        font-size:var(--rps-ref-price)!important;
    }

    .rps-reference-v2 .rps-cart,
    .rps-reference-v2 .rps-buy{
        min-height:var(--rps-ref-button-height)!important;
        font-size:var(--rps-ref-button-text)!important;
    }
}

/* =========================================================
   v1.4.9 — FRONTEND CUSTOMIZATION PRIORITY FIX
   Elementor values are now rendered as inline CSS variables,
   so editor and live front-end use the SAME saved sizes.
========================================================= */

/* Dedicated customer proof controls */
.rps-reference-v2 .rps-proof{
    min-height:var(--rps-custom-proof-height)!important;
    background:var(--rps-custom-proof-bg)!important;
    border-color:var(--rps-custom-proof-border)!important;
}

.rps-reference-v2 .rps-proof-circles span{
    width:var(--rps-custom-proof-avatar)!important;
    height:var(--rps-custom-proof-avatar)!important;
    min-width:var(--rps-custom-proof-avatar)!important;
    min-height:var(--rps-custom-proof-avatar)!important;
    max-width:var(--rps-custom-proof-avatar)!important;
    max-height:var(--rps-custom-proof-avatar)!important;
    aspect-ratio:1/1!important;
    border-radius:50%!important;
    overflow:hidden!important;
    flex-shrink:0!important;
}

.rps-reference-v2 .rps-proof-circles span img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:50%!important;
}

.rps-reference-v2 .rps-proof .rps-stars{
    font-size:var(--rps-custom-proof-stars)!important;
}

.rps-reference-v2 .rps-proof strong{
    font-size:var(--rps-custom-proof-text)!important;
    font-weight:var(--rps-custom-proof-weight)!important;
    color:var(--rps-custom-proof-color)!important;
}

/* Reviews/trust */
.rps-reference-v2 .rps-rating{
    min-height:var(--rps-custom-rating-height)!important;
}
.rps-reference-v2 .rps-rating .rps-stars{
    font-size:var(--rps-custom-review-stars)!important;
}
.rps-reference-v2 .rps-rating > span:not(.rps-stars){
    font-size:var(--rps-custom-review-text)!important;
    color:var(--rps-custom-review-color)!important;
}
.rps-reference-v2 .rps-rating strong{
    font-size:var(--rps-custom-trust-text)!important;
    color:var(--rps-custom-trust-color)!important;
}

/* Benefits */
.rps-reference-v2 .rps-benefit{
    min-height:var(--rps-custom-benefit-height)!important;
}
.rps-reference-v2 .rps-benefit-icon{
    width:var(--rps-custom-benefit-icon)!important;
    height:var(--rps-custom-benefit-icon)!important;
    min-width:var(--rps-custom-benefit-icon)!important;
    min-height:var(--rps-custom-benefit-icon)!important;
    max-width:var(--rps-custom-benefit-icon)!important;
    max-height:var(--rps-custom-benefit-icon)!important;
    flex:0 0 var(--rps-custom-benefit-icon)!important;
    aspect-ratio:1/1!important;
    border-radius:50%!important;
    background:var(--rps-custom-benefit-icon-bg)!important;
    color:var(--rps-custom-benefit-icon-color)!important;
    overflow:hidden!important;
}
.rps-reference-v2 .rps-benefit-icon svg{
    width:var(--rps-custom-benefit-svg)!important;
    height:var(--rps-custom-benefit-svg)!important;
}
.rps-reference-v2 .rps-benefit > span:last-child{
    font-size:var(--rps-custom-benefit-text)!important;
    font-weight:var(--rps-custom-benefit-weight)!important;
    color:var(--rps-custom-benefit-color)!important;
}

/* Authentic */
.rps-reference-v2 .rps-authentic{
    min-height:var(--rps-custom-auth-height)!important;
}
.rps-reference-v2 .rps-authentic-icon,
.rps-reference-v2 .rps-authentic-icon svg{
    width:var(--rps-custom-auth-icon)!important;
    height:var(--rps-custom-auth-icon)!important;
    min-width:var(--rps-custom-auth-icon)!important;
    color:var(--rps-custom-auth-icon-color)!important;
}
.rps-reference-v2 .rps-authentic strong{
    font-size:var(--rps-custom-auth-text)!important;
    font-weight:var(--rps-custom-auth-weight)!important;
    color:var(--rps-custom-auth-color)!important;
}

/* Services */
.rps-reference-v2 .rps-service{
    min-height:var(--rps-custom-service-height)!important;
    gap:var(--rps-custom-service-gap)!important;
    display:flex!important;
    align-items:center!important;
}
.rps-reference-v2 .rps-service-icon{
    width:var(--rps-custom-service-icon)!important;
    height:var(--rps-custom-service-icon)!important;
    min-width:var(--rps-custom-service-icon)!important;
    min-height:var(--rps-custom-service-icon)!important;
    max-width:var(--rps-custom-service-icon)!important;
    max-height:var(--rps-custom-service-icon)!important;
    flex:0 0 var(--rps-custom-service-icon)!important;
    aspect-ratio:1/1!important;
    border-radius:50%!important;
    background:var(--rps-custom-service-icon-bg)!important;
    color:var(--rps-custom-service-icon-color)!important;
    overflow:hidden!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.rps-reference-v2 .rps-service-icon svg{
    width:var(--rps-custom-service-svg)!important;
    height:var(--rps-custom-service-svg)!important;
}
.rps-reference-v2 .rps-service strong{
    font-size:var(--rps-custom-service-title)!important;
    font-weight:var(--rps-custom-service-weight)!important;
    color:var(--rps-custom-service-title-color)!important;
}
.rps-reference-v2 .rps-service span{
    font-size:var(--rps-custom-service-subtitle)!important;
    color:var(--rps-custom-service-subtitle-color)!important;
}

/* =========================================================
   CLEAN RESPONSIVE STRUCTURE — NO HARDCODED CUSTOM SIZES
========================================================= */
@media(max-width:800px){
    .elementor-widget-relifi_product_showcase{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin:0!important;
        padding:0!important;
    }

    .elementor-widget-relifi_product_showcase > .elementor-widget-container{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin:0!important;
        padding:0!important;
    }

    .elementor-widget-relifi_product_showcase .rps-section{
        position:relative!important;
        left:50%!important;
        width:100vw!important;
        max-width:none!important;
        margin-left:-50vw!important;
        margin-right:0!important;
        overflow-x:clip!important;
    }

    .elementor-widget-relifi_product_showcase .rps-inner{
        width:calc(100% - 10px)!important;
        max-width:none!important;
        min-width:0!important;
        margin:0 auto!important;
    }

    .rps-reference-v2 .rps-info-card{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        overflow:hidden!important;
        padding-left:var(--rps-ref-card-padding)!important;
        padding-right:var(--rps-ref-card-padding)!important;
    }

    .rps-reference-v2 .rps-title{
        font-size:var(--rps-ref-title)!important;
        max-width:calc(100% - (var(--rps-ref-side-image) + 12px))!important;
    }
    .rps-reference-v2 .rps-description{
        font-size:var(--rps-ref-description)!important;
    }
    .rps-reference-v2 .rps-side-image{
        width:var(--rps-ref-side-image)!important;
        height:var(--rps-ref-side-image)!important;
    }
    .rps-reference-v2 .rps-price,
    .rps-reference-v2 .rps-price .woocommerce-Price-amount,
    .rps-reference-v2 .rps-price .amount{
        font-size:var(--rps-ref-price)!important;
    }
    .rps-reference-v2 .rps-cart,
    .rps-reference-v2 .rps-buy{
        width:100%!important;
        max-width:100%!important;
        min-height:var(--rps-ref-button-height)!important;
        font-size:var(--rps-ref-button-text)!important;
    }

    /* Proof: avatars/stars row 1, text row 2; chosen sizes remain intact. */
    .rps-reference-v2 .rps-proof{
        width:100%!important;
        max-width:100%!important;
        display:grid!important;
        grid-template-columns:auto minmax(0,1fr)!important;
        grid-template-rows:auto auto!important;
        align-items:center!important;
        column-gap:7px!important;
        row-gap:5px!important;
        padding:8px 10px!important;
        overflow:hidden!important;
    }
    .rps-reference-v2 .rps-proof-circles{
        grid-column:1!important;
        grid-row:1!important;
        min-width:0!important;
        display:flex!important;
        align-items:center!important;
    }
    .rps-reference-v2 .rps-proof .rps-stars{
        grid-column:2!important;
        grid-row:1!important;
        min-width:0!important;
        justify-self:start!important;
        white-space:nowrap!important;
    }
    .rps-reference-v2 .rps-proof strong{
        grid-column:1/-1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        white-space:normal!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
    }

    /* Review row can wrap instead of clipping saved sizes. */
    .rps-reference-v2 .rps-rating{
        width:100%!important;
        max-width:100%!important;
        display:flex!important;
        flex-wrap:wrap!important;
        align-items:center!important;
        gap:6px!important;
        row-gap:4px!important;
        overflow:visible!important;
    }
    .rps-reference-v2 .rps-rating strong{
        max-width:100%!important;
        white-space:normal!important;
    }

    /* 2x2 benefits; icon/text sizes come from Elementor settings. */
    .rps-reference-v2 .rps-benefits{
        width:100%!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:4px 8px!important;
        overflow:visible!important;
    }
    .rps-reference-v2 .rps-benefit{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        justify-content:flex-start!important;
        text-align:left!important;
    }
    .rps-reference-v2 .rps-benefit > span:last-child{
        min-width:0!important;
        white-space:normal!important;
        overflow-wrap:normal!important;
    }

    .rps-reference-v2 .rps-authentic,
    .rps-reference-v2 .rps-services,
    .rps-reference-v2 .rps-service,
    .rps-reference-v2 .rps-whatsapp-help{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }
}

@media(max-width:380px){
    .elementor-widget-relifi_product_showcase .rps-inner{
        width:calc(100% - 8px)!important;
    }
    .rps-reference-v2 .rps-proof{
        column-gap:5px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}

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


/* =========================================================
   v1.4.10 — MOBILE PROOF TEXT + ONE-LINE BENEFIT LABELS
   Requested:
   • make the two marked green customer/trust texts larger
   • keep Teeth & Gum Care / Herbal Formula on one line
   • remain responsive on narrow phones
========================================================= */

@media (max-width:800px){

    /* Larger top proof text while still respecting any larger Elementor value. */
    .rps-reference-v2 .rps-proof strong{
        font-size:max(var(--rps-custom-proof-text, 8.5px), 10px)!important;
        line-height:1.08!important;
        letter-spacing:0!important;
        white-space:normal!important;
    }

    /* Larger "Trusted by happy customers". */
    .rps-reference-v2 .rps-rating strong{
        font-size:max(var(--rps-custom-trust-text, 11px), 12px)!important;
        line-height:1.08!important;
        font-weight:700!important;
    }

    /* Give benefit labels enough horizontal room. */
    .rps-reference-v2 .rps-benefits{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        column-gap:8px!important;
    }

    .rps-reference-v2 .rps-benefit{
        min-width:0!important;
        gap:6px!important;
        padding-left:2px!important;
        padding-right:2px!important;
    }

    /*
     * One-line labels on mobile.
     * min() lets smaller user-selected Elementor sizes remain smaller,
     * while capping oversized values so the text stays responsive.
     */
    .rps-reference-v2 .rps-benefit > span:last-child{
        display:block!important;
        min-width:0!important;
        max-width:100%!important;

        font-size:min(var(--rps-custom-benefit-text, 10px), 10px)!important;
        line-height:1!important;

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

/* Narrow phones: tiny proportional reduction only when needed. */
@media (max-width:380px){

    .rps-reference-v2 .rps-proof strong{
        font-size:max(var(--rps-custom-proof-text, 8.5px), 9.5px)!important;
    }

    .rps-reference-v2 .rps-rating strong{
        font-size:max(var(--rps-custom-trust-text, 11px), 11.5px)!important;
    }

    .rps-reference-v2 .rps-benefit{
        gap:5px!important;
    }

    .rps-reference-v2 .rps-benefit > span:last-child{
        font-size:min(var(--rps-custom-benefit-text, 10px), 9px)!important;
    }
}

/* Extra narrow phones */
@media (max-width:340px){
    .rps-reference-v2 .rps-benefit > span:last-child{
        font-size:min(var(--rps-custom-benefit-text, 10px), 8.3px)!important;
    }
}


/* =========================================================
   v1.4.11 — MOBILE MAIN IMAGE FULL FIT / NO CROP
   Shows the complete uploaded gallery image on phones.
========================================================= */

@media (max-width:800px){

    .rps-reference-v2 .rps-main-media,
    .elementor-widget-relifi_product_showcase .rps-main-media{
        width:100%!important;

        height:auto!important;
        min-height:0!important;
        max-height:none!important;
        aspect-ratio:auto!important;

        display:block!important;
        overflow:hidden!important;

        padding:0!important;
        background:#fff!important;
    }

    .rps-reference-v2 .rps-main-image,
    .elementor-widget-relifi_product_showcase .rps-main-image{
        display:block!important;

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

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

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

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

        transform:none!important;
    }
}

/* Narrow phones use the exact same intrinsic-image ratio. */
@media (max-width:480px){

    .rps-reference-v2 .rps-main-media,
    .elementor-widget-relifi_product_showcase .rps-main-media{
        height:auto!important;
        min-height:0!important;
    }

    .rps-reference-v2 .rps-main-image,
    .elementor-widget-relifi_product_showcase .rps-main-image{
        height:auto!important;
        min-height:0!important;
        object-fit:contain!important;
        object-position:center top!important;
    }
}
