
/* Relifi Instant Product Main Clean V1
   Unique .rnic-* namespace so older Relifi plugin CSS cannot override it. */

.elementor-widget-relifi_instant_product_main .rnic-section,
.elementor-widget-relifi_instant_product_main .rnic-section * {
    box-sizing: border-box;
}

.elementor-widget-relifi_instant_product_main .rnic-section {
    --rnic-green:#008b49;
    --rnic-yellow:#ffbe00;
    --rnic-media:65.5%;
    --rnic-max-width:1320px;
    --rnic-main-max-height:680px;

    --rnic-review-stars-size:13px;
    --rnic-review-text-size:13px;
    --rnic-trust-text-size:12px;
    --rnic-auth-icon-size:21px;
    --rnic-auth-text-size:12px;
    --rnic-help-circle-size:46px;
    --rnic-help-icon-size:25px;
    --rnic-help-title-size:13px;
    --rnic-help-subtitle-size:10px;
    --rnic-help-box-height:64px;
    --rnic-top-image-size:54px;

    width:100%;
    margin:0;
    padding:0;
    font-family:Arial, Helvetica, sans-serif;
    color:#111713;
    background:#fff;
}

.elementor-widget-relifi_instant_product_main .rnic-inner {
    width:calc(100% - 32px);
    max-width:var(--rnic-max-width);
    margin:0 auto;
}

.elementor-widget-relifi_instant_product_main .rnic-layout {
    display:grid;
    grid-template-columns:minmax(0,var(--rnic-media)) minmax(380px,1fr);
    gap:16px;
    align-items:start;
}

/* ========================= GALLERY ========================= */

.elementor-widget-relifi_instant_product_main .rnic-gallery {
    min-width:0;
    display:grid;
    grid-template-columns:74px minmax(0,1fr);
    grid-template-areas:"thumbs main";
    gap:12px;
    align-items:start;
    touch-action:pan-y;
}

.elementor-widget-relifi_instant_product_main .rnic-thumbs {
    grid-area:thumbs;
    display:flex;
    flex-direction:column;
    gap:9px;
    max-height:var(--rnic-main-max-height);
    overflow:auto;
    padding:0 3px 0 0;
    scrollbar-width:thin;
}

.elementor-widget-relifi_instant_product_main .rnic-thumb {
    width:70px;
    height:70px;
    min-width:70px;
    flex:0 0 70px;
    padding:3px;
    margin:0;
    border:1px solid #d9e2dc;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    overflow:hidden;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.elementor-widget-relifi_instant_product_main .rnic-thumb.is-active {
    border-color:var(--rnic-green);
    box-shadow:0 0 0 1px var(--rnic-green);
}

.elementor-widget-relifi_instant_product_main .rnic-thumb img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
}

.elementor-widget-relifi_instant_product_main .rnic-main-media {
    grid-area:main;
    width:100%;
    max-height:var(--rnic-main-max-height);
    display:flex;
    align-items:flex-start;
    justify-content:center;
    overflow:hidden;
    border:1px solid #d9e2dc;
    border-radius:12px;
    background:#fff;
}

.elementor-widget-relifi_instant_product_main .rnic-main-image {
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    max-height:var(--rnic-main-max-height);
    object-fit:contain !important;
    object-position:center top;
    margin:0;
    padding:0;
    user-select:none;
    -webkit-user-drag:none;
}

.elementor-widget-relifi_instant_product_main .rnic-placeholder {
    min-height:420px;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    color:#6c756f;
    text-align:center;
}

/* ========================= RIGHT CARD ========================= */

.elementor-widget-relifi_instant_product_main .rnic-info {
    position:relative;
    width:100%;
    min-width:0;
    min-height:598px;
    padding:25px 24px 20px;
    border:1px solid #d7e0da;
    border-radius:12px;
    background:#fff;
}

.elementor-widget-relifi_instant_product_main .rnic-top-image {
    position:absolute;
    top:16px;
    right:18px;
    display:block;
    width:var(--rnic-top-image-size) !important;
    height:var(--rnic-top-image-size) !important;
    max-width:var(--rnic-top-image-size) !important;
    max-height:var(--rnic-top-image-size) !important;
    object-fit:cover;
    object-position:center top;
    border-radius:4px;
}

.elementor-widget-relifi_instant_product_main .rnic-title {
    max-width:calc(100% - 76px);
    min-height:66px;
    margin:0 0 12px;
    padding:0;
    font-family:Arial, Helvetica, sans-serif;
    font-size:30px;
    line-height:1.03;
    font-weight:700;
    letter-spacing:-.9px;
    color:#0c120e;
    text-transform:none;
}

.elementor-widget-relifi_instant_product_main .rnic-proof {
    width:100%;
    min-height:52px;
    margin:0 0 6px;
    padding:7px 11px;
    display:flex;
    align-items:center;
    gap:8px;
    border:1.5px solid var(--rnic-green);
    border-radius:8px;
    background:#f4fbf6;
    overflow:hidden;
}

.elementor-widget-relifi_instant_product_main .rnic-avatars {
    display:flex;
    align-items:center;
    flex:0 0 auto;
}

.elementor-widget-relifi_instant_product_main .rnic-avatars span {
    width:29px;
    height:29px;
    margin-left:-5px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid var(--rnic-green);
    border-radius:50%;
    background:#fff;
    color:var(--rnic-green);
    font-size:7px;
    font-weight:700;
}

.elementor-widget-relifi_instant_product_main .rnic-avatars span:first-child {
    margin-left:0;
}

.elementor-widget-relifi_instant_product_main .rnic-avatars img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.elementor-widget-relifi_instant_product_main .rnic-stars {
    color:#ffab00;
    line-height:1;
    letter-spacing:.75px;
    white-space:nowrap;
}

.elementor-widget-relifi_instant_product_main .rnic-proof .rnic-stars {
    font-size:11px;
}

.elementor-widget-relifi_instant_product_main .rnic-proof strong {
    min-width:0;
    color:#007d44;
    font-size:9px;
    line-height:1.08;
    font-weight:700;
    white-space:nowrap;
    text-transform:uppercase;
}

.elementor-widget-relifi_instant_product_main .rnic-rating-row {
    width:100%;
    min-height:53px;
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    padding:10px 0;
    border-bottom:1px solid #dce3de;
    white-space:nowrap;
}

.elementor-widget-relifi_instant_product_main .rnic-rating-row .rnic-stars {
    flex:0 0 auto;
    font-size:var(--rnic-review-stars-size) !important;
}

.elementor-widget-relifi_instant_product_main .rnic-rating-row strong {
    flex:0 0 auto;
    font-size:var(--rnic-review-text-size) !important;
    line-height:1;
    font-weight:600;
    color:#303832;
}

.elementor-widget-relifi_instant_product_main .rnic-rating-row i {
    width:1px;
    height:20px;
    display:block;
    flex:0 0 1px;
    background:#d7ded9;
}

.elementor-widget-relifi_instant_product_main .rnic-trust {
    max-width:148px;
    font-size:var(--rnic-trust-text-size) !important;
    line-height:1.1;
    font-weight:700;
    white-space:normal;
    color:#007d44;
}

.elementor-widget-relifi_instant_product_main .rnic-price {
    width:100%;
    min-height:61px;
    display:flex;
    align-items:center;
    margin:0;
    padding:11px 0 13px;
    font-size:28px;
    line-height:1;
    font-weight:700;
    letter-spacing:-.35px;
    color:#101411;
}

.elementor-widget-relifi_instant_product_main .rnic-price,
.elementor-widget-relifi_instant_product_main .rnic-price *,
.elementor-widget-relifi_instant_product_main .rnic-price .amount,
.elementor-widget-relifi_instant_product_main .rnic-price .woocommerce-Price-amount {
    font-family:Arial, Helvetica, sans-serif;
    color:#101411;
    font-size:28px;
    line-height:1;
    font-weight:700;
}

.elementor-widget-relifi_instant_product_main .rnic-divider {
    width:100%;
    height:1px;
    margin:0 0 17px;
    background:#dce3de;
}

.elementor-widget-relifi_instant_product_main .rnic-cart,
.elementor-widget-relifi_instant_product_main .rnic-buy {
    width:100% !important;
    max-width:100% !important;
    min-width:100% !important;
    min-height:56px;
    margin:0 0 10px;
    padding:0 16px;
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    border-radius:7px;
    text-decoration:none !important;
    text-transform:none;
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height:1;
    font-weight:700;
    box-shadow:none;
    cursor:pointer;
}

.elementor-widget-relifi_instant_product_main .rnic-cart {
    color:#fff !important;
    background:var(--rnic-green) !important;
}

.elementor-widget-relifi_instant_product_main .rnic-buy {
    color:#111 !important;
    background:var(--rnic-yellow) !important;
}

.elementor-widget-relifi_instant_product_main .rnic-cart-icon,
.elementor-widget-relifi_instant_product_main .rnic-cart-icon svg {
    width:20px;
    height:20px;
}

.elementor-widget-relifi_instant_product_main .rnic-cart-icon svg,
.elementor-widget-relifi_instant_product_main .rnic-auth-icon svg,
.elementor-widget-relifi_instant_product_main .rnic-help-icon svg {
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.elementor-widget-relifi_instant_product_main .rnic-authentic {
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:4px 0 8px;
    color:#111713;
}

.elementor-widget-relifi_instant_product_main .rnic-auth-icon,
.elementor-widget-relifi_instant_product_main .rnic-auth-icon svg {
    width:var(--rnic-auth-icon-size) !important;
    height:var(--rnic-auth-icon-size) !important;
    flex:0 0 var(--rnic-auth-icon-size);
    color:var(--rnic-green);
}

.elementor-widget-relifi_instant_product_main .rnic-authentic strong {
    font-size:var(--rnic-auth-text-size) !important;
    line-height:1.1;
    font-weight:700;
    color:#101411;
}

.elementor-widget-relifi_instant_product_main .rnic-authentic + .rnic-divider {
    margin-bottom:30px;
}

.elementor-widget-relifi_instant_product_main .rnic-help {
    width:100%;
    min-height:var(--rnic-help-box-height) !important;
    display:grid;
    grid-template-columns:var(--rnic-help-circle-size) minmax(0,1fr) 20px;
    align-items:center;
    gap:10px;
    padding:8px 11px;
    border:1px solid #b9dcc7;
    border-radius:9px;
    background:#fbfffc;
    color:#111713;
    text-decoration:none !important;
}

.elementor-widget-relifi_instant_product_main .rnic-help-icon {
    width:var(--rnic-help-circle-size) !important;
    height:var(--rnic-help-circle-size) !important;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#20d36f;
    color:#fff;
}

.elementor-widget-relifi_instant_product_main .rnic-help-icon svg {
    width:var(--rnic-help-icon-size) !important;
    height:var(--rnic-help-icon-size) !important;
}

.elementor-widget-relifi_instant_product_main .rnic-help-copy {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.elementor-widget-relifi_instant_product_main .rnic-help-copy strong {
    font-size:var(--rnic-help-title-size) !important;
    line-height:1;
    font-weight:700;
}

.elementor-widget-relifi_instant_product_main .rnic-help-copy small {
    font-size:var(--rnic-help-subtitle-size) !important;
    line-height:1.1;
    font-weight:400;
    color:#7b8881;
}

.elementor-widget-relifi_instant_product_main .rnic-help-arrow {
    justify-self:end;
    color:var(--rnic-green);
    font-size:24px;
    line-height:1;
}

/* ========================= TABLET ========================= */

@media (max-width:1024px) and (min-width:701px) {
    .elementor-widget-relifi_instant_product_main .rnic-inner {
        width:calc(100% - 24px);
    }

    .elementor-widget-relifi_instant_product_main .rnic-layout {
        grid-template-columns:minmax(0,60%) minmax(340px,1fr);
        gap:12px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-gallery {
        grid-template-columns:64px minmax(0,1fr);
        gap:8px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-thumb {
        width:60px;
        height:60px;
        min-width:60px;
        flex-basis:60px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-info {
        padding:20px 17px 16px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-title {
        font-size:24px;
        min-height:54px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-proof strong {
        white-space:normal;
    }
}

/* ========================= MOBILE ========================= */

@media (max-width:700px) {
    .elementor-widget-relifi_instant_product_main .rnic-section {
        --rnic-review-stars-size:12px;
        --rnic-review-text-size:12px;
        --rnic-trust-text-size:11px;
        --rnic-auth-icon-size:20px;
        --rnic-auth-text-size:12px;
        --rnic-help-circle-size:44px;
        --rnic-help-icon-size:24px;
        --rnic-help-title-size:12px;
        --rnic-help-subtitle-size:10px;
        --rnic-help-box-height:62px;
        --rnic-top-image-size:48px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-inner {
        width:100%;
        max-width:none;
        margin:0;
        padding:0;
    }

    .elementor-widget-relifi_instant_product_main .rnic-layout {
        display:flex;
        flex-direction:column;
        width:100%;
        gap:8px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-mobile-info-first .rnic-info {
        order:1;
    }

    .elementor-widget-relifi_instant_product_main .rnic-mobile-info-first .rnic-gallery {
        order:2;
    }

    .elementor-widget-relifi_instant_product_main .rnic-gallery {
        order:1;
        width:100%;
        display:grid;
        grid-template-columns:minmax(0,1fr);
        grid-template-areas:
            "main"
            "thumbs";
        gap:8px;
        padding:0 6px;
        overflow:visible;
    }

    .elementor-widget-relifi_instant_product_main .rnic-main-media {
        width:100%;
        max-height:none;
        border-radius:10px;
        overflow:hidden;
    }

    .elementor-widget-relifi_instant_product_main .rnic-main-image {
        width:100%;
        height:auto !important;
        max-height:none !important;
        object-fit:contain !important;
        object-position:center top;
    }

    .elementor-widget-relifi_instant_product_main .rnic-thumbs {
        width:100%;
        max-height:none;
        display:flex;
        flex-direction:row;
        gap:7px;
        overflow-x:auto;
        overflow-y:hidden;
        padding:0 0 3px;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    .elementor-widget-relifi_instant_product_main .rnic-thumbs::-webkit-scrollbar {
        display:none;
    }

    .elementor-widget-relifi_instant_product_main .rnic-thumb {
        width:58px;
        height:58px;
        min-width:58px;
        flex:0 0 58px;
        border-radius:7px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-info {
        order:2;
        width:calc(100% - 12px);
        min-height:0;
        margin:0 6px;
        padding:15px 14px 15px;
        border-radius:11px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-title {
        max-width:calc(100% - 62px);
        min-height:56px;
        margin-bottom:9px;
        font-size:24px;
        line-height:1.03;
        letter-spacing:-.55px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-top-image {
        top:12px;
        right:12px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-proof {
        min-height:50px;
        padding:7px 8px;
        gap:6px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-avatars span {
        width:27px;
        height:27px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-proof .rnic-stars {
        font-size:10px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-proof strong {
        font-size:8px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-rating-row {
        min-height:52px;
        gap:7px;
        padding:9px 0;
    }

    .elementor-widget-relifi_instant_product_main .rnic-trust {
        max-width:125px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-price,
    .elementor-widget-relifi_instant_product_main .rnic-price *,
    .elementor-widget-relifi_instant_product_main .rnic-price .amount,
    .elementor-widget-relifi_instant_product_main .rnic-price .woocommerce-Price-amount {
        font-size:27px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-price {
        min-height:59px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-cart,
    .elementor-widget-relifi_instant_product_main .rnic-buy {
        min-height:54px;
        font-size:14px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-authentic {
        min-height:49px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-authentic + .rnic-divider {
        margin-bottom:27px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-help {
        padding:8px 10px;
    }
}

@media (max-width:380px) {
    .elementor-widget-relifi_instant_product_main .rnic-title {
        font-size:22px;
        max-width:calc(100% - 58px);
    }

    .elementor-widget-relifi_instant_product_main .rnic-proof strong {
        font-size:7.1px;
    }

    .elementor-widget-relifi_instant_product_main .rnic-trust {
        max-width:106px;
    }
}


/* =========================================================
   v1.0.1 — TRUE FULL-WIDTH RESPONSIVE LAYOUT
   Breaks out of constrained Elementor/WoodMart containers
   and uses the full viewport width on desktop + mobile.
========================================================= */

.elementor-widget-relifi_instant_product_main .rnic-section{
    position:relative !important;
    left:50% !important;
    right:auto !important;

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

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

    padding-left:0 !important;
    padding-right:0 !important;

    overflow-x:clip !important;
}

/* Full width inner area */
.elementor-widget-relifi_instant_product_main .rnic-inner{
    width:100% !important;
    max-width:none !important;

    margin-left:0 !important;
    margin-right:0 !important;

    padding-left:16px !important;
    padding-right:16px !important;
}

/* Desktop */
@media (min-width:1025px){

    .elementor-widget-relifi_instant_product_main .rnic-layout{
        width:100% !important;
        max-width:none !important;

        grid-template-columns:
            minmax(0,65.5%)
            minmax(380px,34.5%) !important;

        gap:16px !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-gallery,
    .elementor-widget-relifi_instant_product_main .rnic-info{
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
    }
}

/* Tablet */
@media (min-width:701px) and (max-width:1024px){

    .elementor-widget-relifi_instant_product_main .rnic-inner{
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-layout{
        width:100% !important;
        max-width:none !important;

        grid-template-columns:
            minmax(0,60%)
            minmax(320px,40%) !important;

        gap:12px !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-gallery,
    .elementor-widget-relifi_instant_product_main .rnic-info{
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
    }
}

/* Mobile — true edge-to-edge */
@media (max-width:700px){

    .elementor-widget-relifi_instant_product_main,
    .elementor-widget-relifi_instant_product_main > .elementor-widget-container{
        width:100% !important;
        max-width:none !important;

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

    .elementor-widget-relifi_instant_product_main .rnic-section{
        left:50% !important;

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

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

        padding:0 !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-inner{
        width:100% !important;
        max-width:none !important;

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

    .elementor-widget-relifi_instant_product_main .rnic-layout{
        width:100% !important;
        max-width:none !important;

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

        gap:8px !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-gallery{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;
        padding-left:6px !important;
        padding-right:6px !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-main-media,
    .elementor-widget-relifi_instant_product_main .rnic-main-image{
        width:100% !important;
        max-width:100% !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-info{
        width:calc(100% - 12px) !important;
        max-width:none !important;

        margin-left:6px !important;
        margin-right:6px !important;
    }

    .elementor-widget-relifi_instant_product_main .rnic-cart,
    .elementor-widget-relifi_instant_product_main .rnic-buy,
    .elementor-widget-relifi_instant_product_main .rnic-proof,
    .elementor-widget-relifi_instant_product_main .rnic-help{
        width:100% !important;
        max-width:100% !important;
    }
}

/* Avoid unwanted horizontal scrollbar from full-width breakout */
html,
body{
    overflow-x:hidden;
}


/* =========================================================
   v1.0.2 — MAIN PRODUCT IMAGE: FULL WIDTH + NO CROP
   The previous max-height could preserve the image ratio by
   shrinking its rendered width, which left a blank strip on
   the right. The main artwork now always uses the complete
   available width and its natural height.
========================================================= */

.elementor-widget-relifi_instant_product_main .rnic-main-media{
    width:100% !important;
    max-width:100% !important;

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

    display:block !important;

    overflow:visible !important;
    background:#fff !important;
}

.elementor-widget-relifi_instant_product_main .rnic-main-image{
    display:block !important;

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

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

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

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

    aspect-ratio:auto !important;

    transform:none !important;
}

/* The gallery column grows with the complete image instead of clipping it. */
.elementor-widget-relifi_instant_product_main .rnic-gallery{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    align-self:start !important;
}

/* Keep thumbnails scrollable on desktop without limiting the main artwork. */
@media (min-width:701px){
    .elementor-widget-relifi_instant_product_main .rnic-thumbs{
        max-height:none !important;
        overflow-y:visible !important;
    }
}

/* Mobile: true natural image ratio, edge-to-edge inside the gallery. */
@media (max-width:700px){
    .elementor-widget-relifi_instant_product_main .rnic-main-media,
    .elementor-widget-relifi_instant_product_main .rnic-main-image{
        width:100% !important;
        height:auto !important;
        max-height:none !important;
        overflow:visible !important;
    }
}


/* =========================================================
   v1.0.3 — CORRECT PRODUCT-MAIN MOBILE TOP GAP FIX
   This is the Relifi Instant Product Main section itself,
   not the separate Shopoint slider.
========================================================= */
@media (max-width:700px){

    /* First remove normal spacing from the actual product widget. */
    .elementor-widget-relifi_instant_product_main,
    .elementor-widget-relifi_instant_product_main > .elementor-widget-container,
    .elementor-widget-relifi_instant_product_main .rnic-section,
    .elementor-widget-relifi_instant_product_main .rnic-inner,
    .elementor-widget-relifi_instant_product_main .rnic-layout,
    .elementor-widget-relifi_instant_product_main .rnic-gallery{
        padding-top:0!important;
        margin-top:0!important;
    }

    /*
     * The white strip visible in the screenshot is above the product-main
     * widget. Pulling the ACTUAL product widget up removes it.
     * The negative bottom margin keeps the next content in the same flow.
     */
    .elementor-widget-relifi_instant_product_main:has(.rnic-section.rnic-remove-mobile-top-gap){
        position:relative!important;
        transform:translateY(calc(var(--rnic-mobile-gap-pull, 56px) * -1))!important;
        margin-bottom:calc(var(--rnic-mobile-gap-pull, 56px) * -1)!important;
        z-index:2!important;
    }

    /*
     * Fallback for browsers where :has() is unavailable.
     * Modern Chrome/Android/iOS Safari support :has(), but this class-based
     * rule also covers the most common Elementor wrapper structure.
     */
    .elementor-widget-relifi_instant_product_main .rnic-section.rnic-remove-mobile-top-gap{
        --rnic-mobile-gap-applied:1;
    }
}

/* Very narrow phones need slightly less pull by default */
@media (max-width:380px){
    .elementor-widget-relifi_instant_product_main:has(.rnic-section.rnic-remove-mobile-top-gap){
        transform:translateY(calc((var(--rnic-mobile-gap-pull, 56px) - 4px) * -1))!important;
        margin-bottom:calc((var(--rnic-mobile-gap-pull, 56px) - 4px) * -1)!important;
    }
}
