.ml-configurator{

    max-width:1400px;

    margin:0 auto;

    padding:100px 30px 40px;

    display:grid;

    grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);

    gap:60px;

    height:calc(100vh - 100px);

}
.ml-moto-product-page {
    position: relative;
    min-height: 100vh;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: white;
}

.ml-moto-product-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .78);

    z-index: 1;
}

.ml-configurator {
    position: relative;
    z-index: 5;
}
body.admin-bar .ml-configurator {
    padding-top: 134px;
}

.ml-configurator__left{

    position:sticky;

    top:100px;

    height:fit-content;

    align-self:start;

}

body.admin-bar .ml-configurator__left {
    top: 94px;
}

.ml-configurator__right{

    display:flex;

    flex-direction:column;

    gap:30px;

    overflow-y:auto;

    overflow-x:hidden;

    padding-right:12px;

}

.ml-card {
    padding: 45px;

    border-radius: 32px;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .18);

    color: white;
}

@media(max-width:991px){

    .ml-configurator{

        grid-template-columns:1fr;
        height:auto;
        overflow:visible;
    }

    .ml-configurator__left{

        position:relative;

        top:0;

    }

}

.ml-eyebrow {
    color: #ff3030;

    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ml-title {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 18px;

    color: white;
}

.ml-price {
    font-size: 32px;
    font-weight: 700;

    color: #ff1f1f;

    margin-bottom: 20px;
}

.ml-description {
    color: rgba(255, 255, 255, .8);

    line-height: 1.7;
    font-size: 16px;
}

.ml-hero{

    width:100%;

    background:#f6f6f6;

    border-radius:26px;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;


}

.ml-hero__video{

    width:100%;

    display:block;

}

.ml-hero__image{

    width:100%;

    display:block;

}
.ml-colors{

    display:flex;

    gap:18px;

    margin-top:25px;

    flex-wrap:wrap;

}

.ml-color{

    width:42px;

    height:42px;

    border-radius:50%;

    cursor:pointer;

    border:3px solid transparent;

    transition:.25s;

}

.ml-color.active {
    border-color: #ff3030;

    transform: scale(1.08);

    box-shadow:
        0 0 15px rgba(255, 0, 0, .35);
}

.ml-payment{

    display:flex;

    flex-direction:column;

    gap:14px;

    margin-top:20px;

}

.ml-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;

    background: rgba(255, 255, 255, .05);

    color: white;

    cursor: pointer;

    transition: .25s;
}

.ml-payment-option.active {
    border-color: #ff3030;

    background: rgba(255, 0, 0, .12);

    box-shadow:
        0 0 20px rgba(255, 0, 0, .12);
}

.ml-payment-option input {
    accent-color: #d60000;
}

.ml-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.ml-service-card {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;

    background: rgba(255, 255, 255, .05);

    color: white;

    text-align: left;
    font: inherit;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.ml-service-card:hover {
    border-color: rgba(255, 255, 255, .5);

    background: rgba(255, 255, 255, .08);
}

.ml-service-card.active {
    border-color: #ff3030;

    background: rgba(255, 0, 0, .12);

    box-shadow:
        0 0 0 3px rgba(255, 0, 0, .10);
}

.ml-service-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ml-service-checkbox {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 7px;

    background: transparent;

    color: white;
}

.ml-service-checkbox svg {
    width: 14px;
    height: 14px;
    opacity: 0;
}

.ml-service-card.active .ml-service-checkbox {
    border-color: #d60000;
    background: #d60000;
}

.ml-service-card.active .ml-service-checkbox svg {
    opacity: 1;
}

.ml-service-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ml-service-name {
    font-size: 16px;
    font-weight: 600;
}

.ml-service-description {
    color: rgba(255, 255, 255, .65);

    font-size: 13px;
    line-height: 1.45;
}

.ml-services-empty {
    margin: 0;

    color: rgba(255, 255, 255, .65);
}

.ml-service-description p {
    margin: 0;
}

.ml-service-price {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.ml-services-empty {
    margin: 0;
    color: #6e6e73;
}

/*
|--------------------------------------------------------------------------
| Restaurar scroll en el configurador
|--------------------------------------------------------------------------
*/

html:has(body.single-product) {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.single-product {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

body.single-product #content.site-main {
    min-height: 100vh;
    overflow: visible !important;
}

.ml-configurator__right::-webkit-scrollbar{

    width:8px;

}

.ml-configurator__right::-webkit-scrollbar-thumb{

    background:#d0d0d0;

    border-radius:20px;

}

.ml-configurator__right::-webkit-scrollbar-track{

    background:transparent;

}

.ml-footer-summary {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 999;

    background: rgba(0, 0, 0, .82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-top: 1px solid rgba(255, 255, 255, .18);

    padding: 18px 40px;

    color: white;
}

.ml-footer-summary__content{

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.ml-footer-summary__left{

    display:flex;

    flex-direction:column;

    gap:6px;

}

.ml-summary-title,
.ml-summary-description {
    color: rgba(255, 255, 255, .65);
}

.ml-summary-price {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;

    color: #ff1f1f;
}

.ml-summary-description{

    color:#6B7280;

    font-size:14px;

}

.ml-summary-button {
    background: #d60000;

    color: white;

    border: none;
    border-radius: 999px;

    padding: 16px 42px;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 0 25px rgba(255, 0, 0, .35);
}

/* =========================================================
   ELIGE CÓMO COMPRAR
========================================================= */

.ml-purchase-selector{
    width:100%;
}

.ml-purchase-selector__title{
    margin:0 0 20px;

    color:#fff;

    font-size:28px;
    font-weight:800;
    line-height:1.2;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.ml-purchase-options{
    display:flex;
    flex-direction:column;

    gap:20px;

    width:100%;
}


/* =========================================================
   CARD
========================================================= */

.ml-purchase-card{
    position:relative;

    display:block;

    width:100%;

    padding:28px 30px;

    box-sizing:border-box;

    cursor:pointer;

    text-align:left;

    color:#fff !important;

    background:
        rgba(5,5,5,.92) !important;

    border:
        1px solid
        rgba(255,255,255,.20) !important;

    border-radius:28px;

    box-shadow:none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease,
        background .2s ease;
}


/* Hover */

.ml-purchase-card:hover{

    background:
        rgba(8,8,8,.96) !important;

    border-color:
        rgba(255,49,49,.55) !important;

}


/* =========================================================
   CARD SELECCIONADA
========================================================= */

.ml-purchase-card.active{

    background:
        linear-gradient(
            135deg,
            rgba(34,197,94,.10),
            rgba(5,5,5,.96) 45%
        ) !important;

    border:
        2px solid #22c55e !important;

    box-shadow:
        0 0 0 1px rgba(34,197,94,.10),
        0 0 25px rgba(34,197,94,.12);

}


/* =========================================================
   CHECK
========================================================= */

.ml-purchase-card__check{

    position:absolute;

    top:22px;
    right:22px;

    width:27px;
    height:27px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    border:
        1px solid
        rgba(255,255,255,.25);

    background:
        rgba(255,255,255,.05);

    color:transparent;

    font-size:15px;
    font-weight:900;

    opacity:.65;
}


/* =========================================================
   CHECK DE LA CARD SELECCIONADA
========================================================= */

.ml-purchase-card.active
.ml-purchase-card__check{

    background:#22c55e;

    border-color:#22c55e;

    color:#fff;

    transform:scale(1.05);

}


/* =========================================================
   EYEBROW
========================================================= */

.ml-purchase-card .ml-eyebrow{

    display:block;

    margin:0 45px 8px 0;

    color:#ff3131;

    font-size:13px;
    font-weight:700;

}


/* =========================================================
   TITULO
========================================================= */

.ml-purchase-card .ml-title{

    margin:0 0 14px;

    padding:0;

    color:#fff;

    font-size:30px;
    font-weight:800;

    line-height:1.15;

}


/* =========================================================
   PRECIO
========================================================= */

.ml-purchase-card .ml-price{

    margin:0 0 16px;

    color:#ff3131;

    font-size:28px;
    font-weight:800;

    line-height:1.2;

}

.ml-purchase-card
.ml-price
.woocommerce-Price-amount{

    color:#ff3131;

}

.ml-purchase-card
.ml-price
.woocommerce-Price-currencySymbol{

    color:#ff3131;

}


/* =========================================================
   DESCRIPCION
========================================================= */

.ml-purchase-card__description{

    margin:0 0 18px;

    color:
        rgba(255,255,255,.65);

    font-size:14px;

}


/* =========================================================
   SKU / STOCK
========================================================= */

.ml-purchase-card
.ml-product-meta{

    display:flex;

    gap:30px;

    margin-top:15px;

}

.ml-purchase-card
.ml-product-meta > div{

    display:flex;

    flex-direction:column;

    gap:4px;

}

.ml-purchase-card
.ml-product-meta strong{

    color:
        rgba(255,255,255,.55);

    font-size:11px;

    text-transform:uppercase;

}

.ml-purchase-card
.ml-product-meta span{

    color:#fff;

    font-size:14px;

}


/* =========================================================
   FINANCIAMIENTO
========================================================= */

.ml-finance-card-data{

    display:flex;

    flex-direction:column;

    margin-top:20px;

    border-top:
        1px solid
        rgba(255,255,255,.10);

}


.ml-finance-card-row{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    padding:13px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

}
.ml-purchase-card:not(.active){

    background:
        rgba(5,5,5,.92) !important;

    border:
        2px solid
        rgba(255,255,255) !important;

    opacity:.82;

}
.ml-purchase-card:not(.active):hover{

    opacity:1;

    border-color:
        rgba(34,197,94,.60) !important;

    background:
        rgba(10,10,10,.96) !important;

}
.ml-finance-card-row:last-child{

    border-bottom:0;

}
.ml-purchase-card__check{

    position:absolute;

    top:22px;
    right:22px;

    width:28px;
    height:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    border:
        1px solid
        rgba(255,255,255,.25);

    background:
        rgba(255,255,255);

    color:transparent;

    font-size:16px;
    font-weight:900;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}



.ml-finance-card-row span{

    color:
        rgba(255,255,255,.60);

    font-size:14px;

}


.ml-finance-card-row strong{

    color:#fff;

    font-size:14px;
    font-weight:700;

    text-align:right;

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    .ml-purchase-selector__title{
        font-size:24px;
    }

    .ml-purchase-card{
        padding:24px 22px;
    }

    .ml-purchase-card .ml-title{
        font-size:26px;
    }

    .ml-purchase-card .ml-price{
        font-size:25px;
    }

}

.ml-cash-price--regular.ml-price-crossed {
    position: relative;
    display: inline-block;
}

.ml-cash-price--regular.ml-price-crossed::after {
    content: "";
    position: absolute;

    left: -3px;
    right: -3px;

    top: 50%;

    height: 3px;

    background: #ff7a00;

    transform:
        translateY(-50%)
        rotate(-4deg);

    border-radius: 999px;

    pointer-events: none;
}

/* =========================================================
   PRECIOS CONTADO - MOTOLINK
========================================================= */

.ml-cash-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 10px;
}


/* Cada precio */

.ml-cash-price-item {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* =========================================================
   LABELS
========================================================= */

.ml-cash-price-label {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;

    border-radius: 10px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;

    line-height: 1;
    text-transform: uppercase;

    white-space: nowrap;
}


/* Precio regular */

.ml-cash-price-label--regular {
    background: #ff2b32;
}


/* Precio Motolink */

.ml-cash-price-label--motolink {
    background: #00b894;
}


/* =========================================================
   NÚMEROS
========================================================= */

.ml-cash-price-value {
    position: relative;

    display: inline-block;

    font-size: 22px;
    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;
}


/* Precio regular */

.ml-cash-price--regular {
    color: #ff2b32;
}


/* Precio Motolink */

.ml-cash-price--motolink {
    color: #00b894;
}


/* =========================================================
   TACHADO NARANJA
========================================================= */

.ml-cash-price--regular.ml-price-crossed::after {
    content: "";

    position: absolute;

    left: -3px;
    right: -3px;

    top: 50%;

    height: 3px;

    background: #ff7a00;

    transform:
        translateY(-50%)
        rotate(-4deg);

    border-radius: 999px;

    pointer-events: none;
}

/* =========================================================
   FINANCIAMIENTO
========================================================= */


/* PRECIO FINANCIAMIENTO */

.ml-finance-price {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ml-finance-price strong {
    color: #00b894;
    font-size: 18px;
    font-weight: 800;
}


/* =========================================================
   INICIAL TOTAL
========================================================= */

.ml-finance-initial-total {
    position: relative;

    display: inline-block;

    color: #ff2b32 !important;

    font-weight: 800;
}


/* Tachado naranja */

.ml-finance-initial-total::after {
    content: "";

    position: absolute;

    left: -3px;
    right: -3px;

    top: 50%;

    height: 3px;

    background: #ff7a00;

    transform:
        translateY(-50%)
        rotate(-4deg);

    border-radius: 999px;

    pointer-events: none;
}


/* =========================================================
   INICIAL MOTOLINK
========================================================= */

.ml-finance-initial-motolink {
    color: #00b894 !important;
    font-weight: 800;
}


/* =========================================================
   INICIAL CLIENTE
========================================================= */

.ml-finance-initial-customer {
    color: #00b894 !important;
    font-weight: 800;
}