/* Maxicafé - Filtro Suscripción basic styles */
.mfs-step { display: none; }
.mfs-step.is-active { display: block; }
.mfs-col h2 {
    color: var(--e-global-color-primary);
    font-size: 24px;
}
.mfs-content {
    color: var(--e-global-color-text);
    margin-bottom: 20px;
}
button.mfs-btn {
    color: white;
    background: var(--e-global-color-primary) !important;
    border-radius: 0;
    border: none;
    transition: .3s;
    &:hover {
        background: var(--e-global-color-accent) !important;
    }
}
.mfs-content ol {
    padding-left: 20px;
}
.mfs-cols {
    display: flex;    
}
.mfs-col:first-child {
    border-right: 1px solid var(--e-global-color-6e28ea9);
    width: calc(30% + 22px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding-right: 50px;
}
.mfs-col:last-child {
    width: 70%;
    line-height: 0;
    text-align: center;
    padding: 30px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mfs-content p { margin: 0 0 12px; }
.mfs-btn { display:inline-block; padding:10px 16px; text-decoration:none; cursor:pointer; }
.mfs-btn-primary { 
    background:var(--e-global-color-primary); 
    color:white; 
    transition: .3s;
    &:hover { 
        background:var(--e-global-color-accent); 
        color: white;
    }            
}
.mfs-btn.single-product-btn {
    padding: 22px 15px;
}
.mfs-card {
    border: 1px solid var( --e-global-color-6e28ea9 );    
    overflow: hidden;        
    padding: 10px;
    transition: .3s;
    &:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}
.mfs-card-media img { width:100%; height:auto; display:block; }
.mfs-card-body { 
    padding:12px;
    text-align: start;
 }
.mfs-card-body h3 {
    color: var(--e-global-color-primary);
    font-size: 18px;
    width: 100%;
    height: 44px;
    text-overflow: ellipsis;
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mfs-card-body p {
    line-height: 1.4em;
    color: var(--e-global-color-text);
    width: 100%;
    height: 68px;
    text-overflow: ellipsis;
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.mfs-card-term { outline:none; }
.mfs-notice { padding:12px; background:#fff3cd; border:1px solid #ffeeba; }
/* Swiper sizing */
.mfs-swiper { width: 100%; }
.mfs-swiper .swiper-slide { 
    height: auto; 
}
[data-step="2"] .mfs-swiper .swiper-slide,
[data-step="3"] .mfs-swiper .swiper-slide {
    cursor: pointer;
}

/* Evitar crecimientos anómalos de ancho */
.mfs-swiper { width: 100%; overflow: hidden; }
.mfs-swiper .swiper-wrapper { box-sizing: border-box; }
.mfs-swiper .swiper-slide { box-sizing: border-box;}

.mfs-card-media img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.swiper-pagination-bullet-active {
    background: var(--e-global-color-primary) !important;
}
.swiper-button-prev:hover:after, .swiper-rtl .swiper-button-next:hover:after,
.swiper-button-next:hover:after, .swiper-rtl .swiper-button-prev:hover:after {
    color: #d5d5d5;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {    
    color: white;
    background: var(--e-global-color-primary);
    font-weight: bolder;
    font-size: 20px !important;
    padding: 7.5px 12.4px; 
    transition: .3s;    
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    display: none;
}


/* Asegura que la columna del carrusel no fuerce anchuras absurdas */
.mfs-col { min-width: 0; }


/* RESPONSIVE */
@media (max-width: 640px){ }
@media (max-width: 768px){     
    .mfs-cols {
        flex-direction: column;
    }
    .mfs-col {
        width: 100% !important;
        padding: 20px !important;
    }
    .mfs-card-media {
        max-height: 300px;
        overflow: hidden;
    }
    .mfs-card-media img {
        transform: translateY(-25%);
    }
    .mfs-col .swiper.mfs-swiper {
        padding-bottom: 40px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .mfs-col:first-child {
        padding: 30px;      
        width: calc(40% + 7px);        
    }
    .mfs-col:last-child {
        width: 60%;
    }    
    
}
@media screen and (min-width: 1025px) and (max-width: 1330px) {
    .mfs-col:first-child {
        padding: 30px;      
        width: calc(30% + 34px);        
    }
}

