#wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body #content {
    font-size: 0.85vw;
}

#inner-wrapper.container {
    max-width: unset;
    margin: 0;
    padding: 0;
}

.r-16 {
    border-radius: 0.85vw;
}

.tab-content > .tab-pane {
    height: unset;
    overflow: unset;
    visibility: visible;
}

.fade:not(.show) {
    opacity: 1;
}

.comofunciona-portada {
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
    padding: 3.1vw 0;
}

.comofunciona-portada .heading {
    font-family: "Cormorant Garamond";
    font-size: 4.15vw;
    margin-bottom: 1vw;
    position: relative;
    z-index: 1;
}

.comofunciona-portada .top-left-img,
.comofunciona-portada .top-left-img-mini,
.comofunciona-portada .top-right-img,
.comofunciona-body .mid-left-img { 
    filter: drop-shadow(0 0 .9rem grey);
}

.comofunciona-portada .top-left-img {
    position: absolute;
    width: 20vw;
    top: -1vw;
    left: -3vw;
}

.comofunciona-portada .top-left-img-mini {
    position: absolute;
    width: 4vw;
    left: 20vw;
    top: 5vw;
}

.comofunciona-portada .top-right-img {
    position: absolute;
    width: 19vw;
    top: 5vw;
    right: -6vw;
}

.comofunciona-navs {
    display: none;
    overflow: visible;
    margin-bottom: 24px;
    padding: 0 16px;
}

.comofunciona-navs-container {
    width: unset;
    margin: 0 auto;
    overflow: visible;
}

.comofunciona-navs-container .swiper-wrapper {
    flex-wrap: nowrap;
    position: relative;
    width: fit-content;
}

.comofunciona-navs-container .swiper-slide {
    width: fit-content;
}

.comofunciona-navs .swiper-slide .btn {
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    padding: 6px 16px;
}

.comofunciona-navs .swiper-slide.active .btn {
    color: white;
    background-color: black;
}

.comofunciona-body {
    max-width: 76.6%;
    margin-left: auto;
    margin-right: auto;
}

.comofunciona-body .pasos {
    background: #F7F7F7;
    padding: 2vw;
    border-radius: 0.85vw;
    margin-right: 3.8vw;
    position: sticky;
    top: 60px;
}

.comofunciona-body .mid-left-img {
    position: absolute;
    top: 13vw;
    left: -16vw;
    width: 13vw;
}

.comofunciona-body .pasos-heading {
    font-size: 0.85vw;
    font-weight: 600;
    margin-bottom: 1.2vw;
}

.comofunciona-body .pasos-heading:last-child {
    margin-bottom: 0;
}

.comofunciona-indice {
    counter-reset: section;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin: 0;
    overflow: visible;
    margin-bottom: 1.2vw;
}

.comofunciona-indice .indice-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    transition: 0.5s;
}

.comofunciona-indice .indice-item:not(:last-child):after {
    position: relative;
    flex: 1;
    width: 2px;
    content: "";
    background-color: #E7EAEC !important;
    margin: 0.3rem auto 0.3rem 0.95vw;
    padding-top: 1.2vw;
}

.comofunciona-indice .indice-item-button {
    width: 100%;
    display: flex;
    align-items: center;
}

.comofunciona-indice .indice-item-button-icon {
    width: 2vw;
    height: 2vw;
    line-height: 2vw;
    color: black;
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #E7EAEC;
    transition: 0.5s;
}

.comofunciona-indice .list-packaging .indice-item-button-icon {
    border: unset;
}

.comofunciona-indice .indice-item-button.active .indice-item-button-icon {
    color: #fff;
    background-color: #14171b;
    border: 2px solid #14171b;
}

.comofunciona-indice .indice-item-button-text {
    padding-left: 1.1vw;
    
}

.comofunciona-indice .indice-item-button-text ul {
    list-style: disc;
    color: #E7EAEC;
    padding-left: 0.85vw;
    margin-top: 0.5vw;
}

.comofunciona-indice .indice-item-button-text ul li::marker {
    font-size: 1vw;
}

.comofunciona-indice .indice-item-button-text ul li:not(:last-child) {
    margin-bottom: 0.6vw;
}

.comofunciona-indice .indice-item-button.active .indice-item-button-text a {
    font-weight: 600;
    color: black;
}


.comofunciona-body .comofunciona-content {
    margin-left: 0.4vw;
}

.comofunciona-body .comofunciona-content:first-child {    
    margin-top: -4.2vw;
}

.comofunciona-content .comofunciona-container {
    padding: 4.2vw 0;
    border-bottom: 2px solid #F7F7F7;
}

.comofunciona-collapse.collapse:not(.show) {
    display: inherit;
}

.comofunciona-content .container-button {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #F7F7F7;
}

.container-button .button-title {
    display: flex;
    align-items: center;
}

.button-title .button-icon {
    width: 32px;
    height: 32px;
    line-height: 32px;
    color: black;
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #E7EAEC;
    transition: 0.5s;
}

.button-title .button-text {
    margin-left: 16px;
    font-weight: 600;
}

.container-button .button-arrow {
    display: flex;
    align-items: center;
}

.container-button .button-arrow i {
    font-size: 26px;
    transition: 0.5s;
}

.container-button[aria-expanded="true"] .button-arrow i {
    transform: rotate(180deg);
}

.container-button[aria-expanded="true"] .button-icon {
    color: white;
    background-color: black;
    border: 2px solid black;
}

.comofunciona-container .container-header {
    display: flex;
    align-items: flex-start;
    gap: 1.1vw;
}

.container-header .header-img {
    display: flex;
    align-items: center;
}

.container-header .header-img img {
    height: 2.5vw;
}

.container-header .header-text,
.container-header .header-searchbar {
    flex: 1;
}

.container-header .header-searchbar {
    text-align: right;
}

.header-searchbar .searchbar {
    text-align: left;
    width: 22.7vw;
    padding: 0.63vw 1.2vw;
    border: 1px solid #DCE2E5;
    border-radius: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
}

.header-searchbar .searchbar svg {
    width: 1.25vw;
}

.header-searchbar .searchbar input {
    border: 0;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    flex: 1;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.header-text .text-title {
    font-family: "Cormorant Garamond";
    font-size: 2vw;
    font-weight: 600;
    line-height: 2.5vw;
    margin-bottom: 0;
}

.header-text .text-body {
    display: flex;
    flex-direction: column;
    gap: 0.85vw;
    
    line-height: 1.4vw;
    margin-top: 0.85vw;
}

.text-body p {
    margin-bottom: 0;
}

.text-body a {
    font-weight: 600;
    text-decoration: underline !important;
}

.text-body ul {
    list-style: disc;
    padding-left: 0.85vw;
}

.text-body ul li:not(:last-child) {
    margin-bottom: 0.85vw;
}

.text-body ul li::marker {
    font-size: 1vw;
}

.container-body {
    margin-top: 2.1vw;
}

.container-body .row {
    row-gap: 2.1vw;
}

.metodos-pago .container-body .row {
    row-gap: 1.2vw;
}

.metodos-pago .metodos-pago-card,
.calentar-comer .calentar-comer-card {
    border-radius: 0.85vw;
    border: 1px solid rgba(139, 139, 139, 0.10);
    background: linear-gradient(0deg, #F7F7F7 -13.85%, rgba(255, 255, 255, 0.00) 100%);
    padding: 1.2vw;
    height: 100%;
}

.metodos-pago .body-img img {
    height: 4.2vw;
}

.metodos-pago .metodos-pago-card .ticket-restaurante-img {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5vw;
}

.metodos-pago .metodos-pago-card .ticket-restaurante-img img {
    height: 1.5vw;
    margin-bottom: 0;
}

.metodos-pago .metodos-pago-card .ticket-restaurante-img img.cobee {
    padding-top: 0.2vw;
}

.cuando-entregamos .cuando-entregamos-card {
    border: 1px solid #E7EAEC;
    border-radius: 0.85vw;
    padding: 1.7vw;
    position: relative;
    overflow: hidden;
}

.cuando-entregamos .cuando-entregamos-card:not(:last-child) {
    margin-bottom: 1.5vw;
}

.cuando-entregamos .cuando-entregamos-card .body-img {
    position: absolute;
    bottom: -2.5vw;
    height: 100%;
    padding-top: 0.85vw;
    opacity: 0.2;;
}

.cuando-entregamos .cuando-entregamos-card .body-img img {
    height: 100%;
}

.cuando-entregamos .cuando-entregamos-card .body-img.entrega-oficina {
    left: -1.1vw;
    height: 12.5vw;
}

.cuando-entregamos .cuando-entregamos-card .body-img.entrega-casa {
    right: -1.4vw;
    height: 11vw;
}

.calentar-comer .row {
    margin-top: 3.25vw;
}

.calentar-comer .calentar-comer-card .body-icon {
    position: absolute;
    top: -1.3vw;
    left: 1.3vw;
    width: 2.3vw;
    height: 2.3vw;
    line-height: 2.3vw;
    color: white;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
}

.calentar-comer .calentar-comer-card .body-img {
    text-align: center;
    height: 3.4vw;
    margin-bottom: 1.3vw;
}

.calentar-comer .calentar-comer-card .body-img img {
    height: 100%;
}

.calentar-comer .calentar-comer-card .body-text {
    text-align: center;
}

.preguntas-frecuentes-card,
.centro-ayuda-card {
    padding: 1.25vw;
    display: flex;
    justify-content: space-between;
    gap: 0.4vw;
    flex-direction: column;
    background-color: #F7F7F7;
    border-radius: 0.85vw;
    height: 100%;
}

.centro-ayuda-card {
    background-color: unset;
    border: 1px solid #DCE2E5;
    height: fit-content;
    position: relative;
    z-index: 1;
}

.centro-ayuda-card .centro-ayuda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.centro-ayuda-header .body-button i {
    transition: 0.5s;
}

.centro-ayuda-header[aria-expanded="true"] .body-button i {
    transform: rotate(180deg);
}

.centro-ayuda-card .centro-ayuda-collapse {
    width: 100%;
}

.centro-ayuda-card .centro-ayuda-body {
    margin-top: 1.25vw;
}

.centro-ayuda-card .centro-ayuda-body p {
    line-height: 1.7;
    background-color: #F7F7F7;
    border-radius: 0.45vw;
    padding: 0.4vw 0.6vw;
}

.centro-ayuda-card .centro-ayuda-body p:not(:last-child) {
    margin-bottom: 0.65vw;
}

.preguntas-frecuentes .modal-content {
    box-shadow: unset;
    border-radius: 0.85vw;
    padding: 2.2vw;
}

.preguntas-frecuentes .modal-header {
    border-bottom: unset;
}

.preguntas-frecuentes .modal-title {
    font-size: 1.1vw;
    font-weight: 600;
}

.container-body .body-img {
    position: relative;
}

.container-body .body-img .img-demo,
.container-body .body-img .img-demo-mob {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0.85vw;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
}

.container-body .body-img .img-demo-mob {
    display: none;
}

.container-body .body-img .body-gradient {
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    border-radius: 0.85vw;
    padding: 1.5vw;
    color: white;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: 0.5s;
}

.container-body .body-img .body-gradient:hover {
    opacity: 1;
}

.container-body .body-title {
    font-size: 1.1vw;
    font-weight: 600;
    margin-top: 1.2vw;
    margin-bottom: 0.85vw;
}

.container-body .body-text * {
    font-size: 0.85vw;
    line-height: 1.6;
    margin-bottom: 0.5vw;
}

.container-body .body-text *:last-child {
    margin-bottom: 0;
}

.container-body .body-labels {
    display: flex;
    gap: 0.4vw;
}

.container-body .body-footer {
    display: flex;
    justify-content: space-between;
}

.container-body .body-button {
    cursor: pointer;
    width: 1.9vw;
    height: 1.9vw;
    font-size: 1.4vw;
    border-radius: 50%;
    color: white;
    background-color: black;
    border: 1px solid black;
}

.container-body .body-button svg {
    width: 1.05vw;
    height: 1.05vw;
}

.body-labels .label {
    padding: 0.2vw 0.4vw;
    background: #F2F2F2;
    border-radius: 0.4vw;
    
}

.comofunciona-container .contacto-ayuda {
    display: flex;
    z-index: 1;
}

.contacto-ayuda .contacto-info {
    color: white;
    background-color: black;
    border-radius: 0.85vw;
    padding: 1.6vw;
    position: relative;
    z-index: 1;
}

.contacto-info .contacto-block:not(:last-child) {
    margin-bottom: 1.6vw;
}

.contacto-ayuda .contacto-ayuda-card {
    padding: 1.3vw 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contacto-ayuda-card .container-body {
    margin-top: 0.85vw;
    flex: 1;
}

.contacto-ayuda-card .container-body .body-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contacto-ayuda-card .body-text .info-extra {
    font-size: 0.75vw;
    opacity: 0.7;
}

.contacto-info p.title {
    margin-bottom: 0.85vw;
    opacity: 0.8;
}

.contacto-info p.value a {
    color: white !important;
    font-size: 0.95vw;
    font-weight: 600;
}

.contacto-ayuda .contacto-ayuda-img {
    position: absolute;
    bottom: 0;
    right: -12vw;
    margin-bottom: -1.59rem;
    width: 18vw;
}

/* .video_no_aida::-webkit-media-controls-panel {
    display: none !important;
    opacity: 1 !important;
}  */

@media (max-width:991px) {
    body #content {
        font-size: 16px;
    }
    .r-16 {
        border-radius: 16px;
    }

    .tab-content > .tab-pane {
        height: 0;
        overflow: hidden;
        visibility: hidden;
    }

    .fade:not(.show) {
        opacity: 0;
    }

    .comofunciona-portada {
        max-width: unset;
        margin: 0 16px;
        padding: 40px 0;
    }

    .comofunciona-portada .heading {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .comofunciona-portada {
        margin-bottom: 32px;
    }

    
    .comofunciona-portada .top-left-img {
        width: 132px;
        top: 4px;
        left: -36px;
    }

    .comofunciona-portada .top-left-img-mini {
        width: 57px;
        top: 159px;
        left: -19px;
    }

    .comofunciona-portada .top-right-img {
        width: 121px;
        top: 104px;
        right: -44px;
    }

    .comofunciona-navs {
        display: inherit;
    }

    .comofunciona-body {
        max-width: unset;
        margin: 0 16px;
    }

    .comofunciona-body .pasos {
        margin-right: 0;
        border-radius: 16px;
        padding: 32px;
        margin-bottom: 32px;
    }

    .comofunciona-body .pasos-heading {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .comofunciona-body .pasos-indice {
        margin-bottom: 24px;
    }

    .comofunciona-indice .indice-item-button-icon {
        
        line-height: 38px;
        width: 38px;
        height: 38px;
    }

    .comofunciona-indice .indice-item:not(:last-child):after  {
        margin-left: 19px;
        padding-top: 40px;
    }

    .comofunciona-indice .indice-item-button-text {
        padding-left: 16px;
        
    }

    .comofunciona-indice .indice-item-button-text ul {
        margin-top: 24px;
        padding-left: 16px;
    }

    .comofunciona-indice .indice-item-button-text ul li:not(:last-child) {
        margin-bottom: 24px;
    }

    .comofunciona-body .comofunciona-content {
        margin-top: 0;
        margin-left: 0;
    }

    /* .comofunciona-body .comofunciona-content {    
        margin-top: 0;
    } */

    .comofunciona-content .comofunciona-container {
        padding-top: 24px;
        padding-bottom: 46px;
        border-bottom: unset;
    }

    .comofunciona-collapse.collapse:not(.show) {
        display: none;
    }

    .comofunciona-container .container-header {
        flex-direction: column;
        gap: 16px;
    }

    .container-header .header-img {
        display: flex;
        align-items: center;
    }

    .container-header .header-img img {
        height: 48px;
    }

    .container-header .header-searchbar {
        text-align: inherit;
    }

    .header-searchbar .searchbar {
        width: 100%;
        padding: 16px 24px;
    }

    .header-searchbar .searchbar svg {
        width: 24px;
    }

    .header-text .text-title {
        font-size: 34px;
        line-height: 44px;
    }

    .header-text .text-body {
        gap: 16px;
        line-height: 24px;
        margin-top: 16px;
    }

    .text-body ul {
        padding-left: 19px;
    }

    .text-body ul li:not(:last-child) {
        margin-bottom: 12px;
    }

    .text-body ul li::marker {
        font-size: 20px;
    }

    .container-body {
        margin-top: 24px;
    }

    .container-body .row {
        row-gap: 40px;
    }

    .metodos-pago .container-body .row {
        row-gap: 24px;
    }

    .container-body .body-title {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 16px;
    }
    
    .container-body .body-text * {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .container-body .body-img .img-demo,
    .container-body .body-img .img-demo-mob {
        border-radius: 16px;
    }

    .packaging .container-body .body-img .img-demo {
        display: none;
    }

    .packaging .container-body .body-img .img-demo-mob {
        display: block;
    }

    .packaging .container-body a {
        font-weight: 600;
        text-decoration: underline;
    }

    .container-body .body-img .body-gradient {
        border-radius: 16px;
        padding: 16px;
    }

    .container-body .body-img .body-gradient.show {
        opacity: 1;
    }
    
    .container-body .body-labels {
        gap: 8px;
    }
    
    .body-labels .label {
        padding: 6px 10px;
        border-radius: 8px;
        
    }

    .container-body .body-button {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
    
    .container-body .body-button svg {
        width: 20px;
        height: 20px;
    }

    .metodos-pago .metodos-pago-card {
        border-radius: 16px;
        padding: 24px;
    }

    .metodos-pago .body-img img {
        height: 60px;
    }

    .metodos-pago .metodos-pago-card .ticket-restaurante-img {
        display: flex;
        gap: 20px;
    }

    .metodos-pago .metodos-pago-card .ticket-restaurante-img img {
        height: 27px;
    }
    
    .metodos-pago .metodos-pago-card .ticket-restaurante-img img.cobee {
        padding-top: 2px;
    }

    .cuando-entregamos .cuando-entregamos-card,
    .calentar-comer .calentar-comer-card {
        border-radius: 16px;
        padding: 24px;
    }

    .cuando-entregamos .cuando-entregamos-card:not(:last-child) {
        margin-bottom: 24px;
    }

    .cuando-entregamos .cuando-entregamos-card .body-img.entrega-casa {
        bottom: -27px;
        right: -19px;
        width: 136px;
        height: unset;
    }

    .cuando-entregamos .cuando-entregamos-card .body-img.entrega-oficina {
        top: -39px;
        bottom: unset;
        left: -28px;
        width: 178px;
    }

    .cuando-entregamos .cuando-entregamos-card .body-img img {
        height: auto !important;
    }

    .preguntas-frecuentes .container-body .row,
    .centro-ayuda .row {
        row-gap: 16px;
    }

    .cuando-entregamos .row {
        row-gap: 8px;
    }

    .cuando-entregamos .body-title {
        font-size: 18px;
    }

    .calentar-comer .row {
        margin-top: 52px;
    }

    .calentar-comer .calentar-comer-card .body-icon {
        top: -24px;
        left: 24px;
        width: 44px;
        height: 44px;
        line-height: 44px;
    }

    .calentar-comer .calentar-comer-card .body-img {
        height: 60px;
        margin-bottom: 24px;
    }

    .preguntas-frecuentes-card,
    .centro-ayuda-card {
        padding: 24px;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        border-radius: 16px;
    }

    .centro-ayuda-card {
        flex-direction: column;
    }

    .centro-ayuda-card .centro-ayuda-body {
        margin-top: 24px;
    }
    
    .centro-ayuda-card .centro-ayuda-body p {
        line-height: 24px;
        border-radius: 8px;
        padding: 8px 12px;
    }

    .centro-ayuda-card .centro-ayuda-body p:not(:last-child) {
        margin-bottom: 12px;
    }

    .preguntas-frecuentes .modal-content {
        border-radius: 16px;
        padding: 10px;
    }

    .preguntas-frecuentes .modal-title {
        font-size: 20px;
    }


    .contacto-ayuda .contacto-info {
        border-radius: 16px;
        padding: 24px;
        margin-right: 24px;
    }
    
    .contacto-info .contacto-block:not(:last-child) {
        margin-bottom: 24px;
    }
    
    .contacto-ayuda .contacto-ayuda-card {
        padding: 24px 0;
    }
    
    .contacto-ayuda-card .container-body {
        margin-top: 16px;
    }
    
    .contacto-ayuda-card .body-text .info-extra {
        font-size: 14px;
    }
    
    .contacto-info p.title {
        margin-bottom: 16px;
    }
    
    .contacto-info p.value a {
        font-size: 18px;
    }

    .contacto-ayuda .contacto-ayuda-img {
        width: 267px;
        right: -154px;
    }
}