/* Slider superior */
#index div.slider{
    z-index: 0;
}
#index div.slider div.swiper-slide img{
    width: 100%;
}
#index div.slider div.swiper-slide div.overlay{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(24, 36, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
#index div.slider div.swiper-slide div.overlay.left{
    justify-content: flex-start;
}
#index div.slider div.swiper-slide div.overlay.right{
    justify-content: flex-end;
}
#index div.slider div.swiper-slide div.overlay div.information{
    padding: 0px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#index div.slider div.swiper-slide div.overlay.left div.information{
    align-items: flex-start;
    text-align: left;
}
#index div.slider div.swiper-slide div.overlay.right div.information{
    align-items: flex-end;
    text-align: right;
}
#index div.slider div.swiper-slide div.overlay div.information p{
    color: white;
    width: 300px;
    margin-bottom: 25px;
}
#index div.slider div.swiper-slide div.overlay div.information p.title{
    color: white;
    width: 500px;
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 15px;
}
#index div.slider div.swiper-pagination{
    color: white;
    font-size: 15px;
    text-align: right;
    padding-right: 100px;
    bottom: 20px;
}
#index div.slider div.swiper-button-next:after,
#index div.slider div.swiper-button-prev:after{
    display: none;
}
#index div.slider div.swiper-button-next,
#index div.slider div.swiper-button-prev{
    height: auto;
    width: auto;
    border: 1px solid white;
    border-radius: 100%;
    padding: 3px;
}
#index div.slider div.swiper-button-prev{
    left: 20px;
}
#index div.slider div.swiper-button-next{
    right: 20px;
}
#index div.slider div.swiper-button-next img,
#index div.slider div.swiper-button-prev img{
    filter: invert(1);
    width: 26px;
}

/* Tipos de ventanas a la venta */
#index div.what-we-sell{
    padding: 0px 60px;
    margin-top: 50px;
}
#index div.what-we-sell h1{
    width: 500px;
}
#index div.what-we-sell > p{
    width: 50%;
}
#index div.what-we-sell div.types{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}
#index div.what-we-sell div.types > div{
    width: calc(50% - 10px);
}
#index div.what-we-sell div.types > div > a{
    display: block;
}
#index div.what-we-sell div.types > div > a:hover{
    opacity: 0.7;
}
#index div.what-we-sell div.types > div > a img{
    width: 100%;
}
#index div.what-we-sell div.types > div div.text{
    height: 14vw;
    padding: 2vw;
    background-color: #f4cd24;
    position: relative;
    color: black;
}
#index div.what-we-sell div.types > div:last-child div.text{
    background-color: #182430;
    color: white;
}
#index div.what-we-sell div.types > div div.text h2{
    width: 100%;
    max-width: 350px;
}
#index div.what-we-sell div.types > div div.text h2 a{
    font-size: 22px;
    font-weight: normal;
    line-height: 27px;
    color: black;
}
#index div.what-we-sell div.types > div:last-child div.text p,
#index div.what-we-sell div.types > div:last-child div.text h2 a{
    color: white;
}
#index div.what-we-sell div.types > div div.text p{
    padding-right: 50px;
}
#index div.what-we-sell div.types > div div.text > a{
    position: absolute;
    bottom: 1.5vw;
    right: 2vw;
}

/* Top ventas */
#index div.bestsellers{
    margin-top: 50px;
    padding: 0px 60px;
}
#index div.bestsellers div.products{
    z-index: 0;
    margin-top: 20px;
    padding-bottom: 30px;
}
#index div.bestsellers div.products div.product{
    height: 25vw;
}
#index div.bestsellers div.products div.product div.image{
    border: 1px solid #e6e6e6;
    border-bottom: none;
    height: calc(50% + 20px);
}
#index div.bestsellers div.products div.product div.image a{
    display: block;
    text-align: center;
    height: calc(100% - 20px);
    width: 100%;
    cursor: default;
    margin-top: 10px;
}
#index div.bestsellers div.products div.product div.image img{
    height: 100%;
    width: auto;
    cursor: pointer;
}
#index div.bestsellers div.products div.product div.image img.add-to-wishlist{
    position: absolute;
    top: 10px;
    width: 25px;
    height: auto;
    filter: invert(1);
    right: 12px;
}
#index div.bestsellers div.products div.product div.information{
    background-color: #182430;
    height: calc(50% - 20px);
}
#index div.bestsellers div.products div.product div.information p{
    padding: 2vw;
    padding-bottom: 0vw;
}
#index div.bestsellers div.products div.product div.information p a{
    color: white;
}
#index div.bestsellers div.products div.product div.information p a:hover{
    text-decoration: underline;
}
#index div.bestsellers div.products div.product div.information div.bottom{
    position: absolute;
    bottom: 1vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
#index div.bestsellers div.products div.product div.information div.bottom div.price{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2vw;
}
#index div.bestsellers div.products div.product div.information div.bottom div.price span{
    color: white;
}
#index div.bestsellers div.products div.product div.information div.bottom div.price span.original{
    font-size: 14px;
    text-decoration: line-through;
    margin-right: 8px;
}
#index div.bestsellers div.products div.product div.information div.bottom div.price span.original + span.current{
    color: #f4cd24;
    margin-right: 8px;
    font-weight: 600;
}
#index div.bestsellers div.products div.product div.information div.bottom div.price span.percentage{
    font-size: 14px;
}
#index div.bestsellers div.products div.product div.information div.bottom a{
    margin-right: 1.2vw;
}
#index div.bestsellers div.products div.swiper-scrollbar{
    height: 3px;
    width: 100%;
    left: 0px;
}
#index div.bestsellers div.products div.swiper-scrollbar div.swiper-scrollbar-drag{
    background-color: black;
}

/* Gamas de ventanas */
#index div.window-ranges{
    margin-top: 60px;
    padding: 60px 60px;
    padding-bottom: 80px;
    background-color: #182430;
    text-align: center;
}
#index div.window-ranges h2,
#index div.window-ranges p{
    color: white;
}
#index div.window-ranges p{
    margin-bottom: 25px;
}
#index div.window-ranges div.types{
    display: flex;
    justify-content: space-evenly;
    margin-top: 50px;
}
#index div.window-ranges div.types div{
    width: 400px;
    padding-right: 20px;
}
#index div.window-ranges div.types div img{
    width: 320px;
    margin-bottom: 30px;
}
#index div.window-ranges div.types div p{
    text-align: left;
    margin-bottom: 0px;
}
#index div.window-ranges div.types div p.title{
    color: #f4cd24;
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 15px;
}

/* Bloque con enlaces a informacion relevante sobre la tienda */
#index div.relevant-store-information{
    position: relative;
}
#index div.relevant-store-information > img{
    width: 100%;
}
#index div.relevant-store-information div.blocks{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 60px;
}
#index div.relevant-store-information div.blocks div{
    width: calc(50% - 10px);
}
#index div.relevant-store-information div.blocks div{
    height: 14vw;
    padding: 2vw;
    background-color: #f4cd24;
    position: relative;
    color: black;
}
#index div.relevant-store-information div.blocks div.window-configurator-guide{
    background-color: #182430;
    color: white;
}
#index div.relevant-store-information div.blocks div h2 a{
    font-size: 22px;
    line-height: 27px;
}
#index div.relevant-store-information div.blocks div.window-configurator-guide h2{
    max-width: 450px;
}
#index div.relevant-store-information div.blocks div.window-configurator-guide h2 a{
    color: white;
}
#index div.relevant-store-information div.blocks div p{
    padding-right: 50px;
}
#index div.relevant-store-information div.blocks div.window-configurator-guide p{
    color: white;
}
#index div.relevant-store-information div.blocks div > a{
    position: absolute;
    bottom: 1.5vw;
    right: 2vw;
}

/* Ventajas */
#index div.advantages-list{
    display: flex;
    padding: 0px 60px;
    margin-top: 50px;
    justify-content: space-around;
    align-items: flex-start;
}
#index div.advantages-list div.advantage{
    width: calc(100%/6);
    display: flex;
    flex-direction: column;
    align-items: center;
}
#index div.advantages-list div.advantage div{
    width: 140px;
    height: 140px;
    background-color: #d5d5d5;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#index div.advantages-list div.advantage div img{
    width: 60%;
}
#index div.advantages-list div.advantage h3{
    font-size: 14px;
    line-height: 18px;
    font-weight: normal;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0px;
    width: 140px;
}
#index div.advantages-list div.advantage h3 a{
    margin-top: 5px;
    color: black;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}
#index div.advantages-list div.advantage h3 a:hover{
    font-weight: normal;
}

/* Blog */
#index div.blog{
    padding: 0px 60px;
    margin-top: 50px;
}
#index div.blog div.articles{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}
#index div.blog div.articles div.article{
    width: calc(33% - 6.66px);
}
#index div.blog div.articles div.article > a{
    display: block;
}
#index div.blog div.articles div.article > a img{
    width: 100%;
}
#index div.blog div.articles div.article div.information{
    height: 400px;
    padding: 2vw;
    background-color: #182430;
    color: white;
    position: relative;
}
#index div.blog div.articles div.article div.information h3{
    margin-bottom: 15px;
}
#index div.blog div.articles div.article div.information h3 a{
    color: white;
    font-size: 22px;
    line-height: 27px;
    font-weight: normal;
}
#index div.blog div.articles div.article div.information p{
    color: white;
}
#index div.blog div.articles div.article div.information p.text{
    font-size: 13px;
    line-height: 17px;
    margin-bottom: 20px;
}
#index div.blog div.articles div.article div.information div.tags{
    color: #f4cd24;
    margin-bottom: 5px;
    padding-right: 60px;
}
#index div.blog div.articles div.article div.information div.tags a{
    color: #f4cd24;
}
#index div.blog div.articles div.article div.information > a{
    position: absolute;
    bottom: 1.5vw;
    right: 2vw;
}

/* Opiniones */
#index div.reviews{
    padding: 0px 60px;
    margin-top: 50px;
}
#index div.reviews div.list{
    z-index: 0;
    padding-bottom: 30px;
    margin-top: 20px;
}
#index div.reviews div.list div.review{
    border: 1px solid #e6e6e6;
    height: auto;
    padding: 1vw 0vw;
    padding-bottom: 3vw;
    width: calc(33.33% - 14px) !important;
}
#index div.reviews div.list div.review div.rating{
    padding: 0vw 2vw;
    margin-bottom: 1.2vw;
}
#index div.reviews div.list div.review div.rating img{
    width: 30px;
    margin-left: -10px;
}
#index div.reviews div.list div.review div.rating img:first-child{
    margin-left: -5px;
}
#index div.reviews div.list div.review p{
    padding: 0vw 2vw;
}
#index div.reviews div.list div.swiper-scrollbar{
    height: 3px;
    width: 100%;
    left: 0px;
}
#index div.reviews div.list div.swiper-scrollbar div.swiper-scrollbar-drag{
    background-color: black;
}

@media(max-width: 1300px){
    #index div.slider div.swiper-slide div.overlay div.information p.title {
        font-size: 25px;
        line-height: 28px;
    }

    #index div.what-we-sell div.types > div div.text{
        height: 18vw;
    }

    #index div.bestsellers div.products div.product{
        height: 30vw;
    }

    #index div.window-ranges div.types{
        justify-content: space-between;
    }
    #index div.window-ranges div.types div{
        width: 30%;
        padding-right: 0px;
    }
    #index div.window-ranges div.types div img{
        width: 100%;
    }

    #index div.relevant-store-information div.blocks div{
        height: 17vw;
    }

    #index div.blog div.articles div.article div.information h3 a{
        font-size: 18px;
        line-height: 22px;
    }
}

@media(max-width: 1200px){
    #index div.slider div.swiper-pagination{
        padding-right: 20px;
        bottom: 15px;
    }

    #index div.what-we-sell > p{
        width: 75%;
    }
    #index div.what-we-sell div.types > div div.text,
    #index div.relevant-store-information div.blocks div{
        height: 20vw;
    }

    #index div.advantages-list div.advantage div{
        width: 110px;
        height: 110px;
    }
    #index div.advantages-list div.advantage h3{
        width: 110px;
        font-size: 13px;
        line-height: 17px;
        margin-top: 12px;
    }

    #index div.blog div.articles div.article div.information {
        height: 450px;
    }
}

@media(max-width: 1000px){
    #index div.slider div.swiper-slide img{
        display: none;
    }
    #index div.slider div.swiper-slide img.mobile{
        display: initial;
    }

    #index div.what-we-sell,
    #index div.bestsellers,
    #index div.window-ranges,
    #index div.advantages-list,
    #index div.blog,
    #index div.reviews{
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 40px;
    }

    #index div.what-we-sell div.types {
        margin-top: 40px;
    }
    #index div.what-we-sell div.types > div div.text{
        height: 25vw;
    }
    #index div.what-we-sell div.types > div div.text h2,
    #index div.what-we-sell div.types > div div.text h2 a{
        max-width: 100%;
        font-size: 20px;
        line-height: 24px;
    }

    #index div.bestsellers div.products div.product{
        height: 35vw;
    }
    #index div.bestsellers div.products div.product div.information div.bottom{
        bottom: 1.5vw;
    }
    #index div.bestsellers div.products div.product div.information div.bottom a {
        margin-right: 2vw;
    }

    #index div.window-ranges{
        padding-top: 40px;
        padding-bottom: 50px;
    }
    #index div.window-ranges div.types{
        margin-top: 10px;
        flex-wrap: wrap;
    }

    #index div.relevant-store-information div.blocks{
        padding: 0px 30px;
    }
    #index div.relevant-store-information div.blocks div{
        height: 25vw;
    }
    #index div.relevant-store-information div.blocks div h2 a{
        font-size: 20px;
        line-height: 24px;
    }

    #index div.advantages-list{
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #index div.advantages-list div.advantage{
        width: 33%;
    }
    #index div.advantages-list div.advantage:first-child{
        margin-bottom: 25px;
    }
    #index div.advantages-list div.advantage div{
        width: 150px;
        height: 150px;
    }
    #index div.advantages-list div.advantage h3{
        width: 150px;
        font-size: 14px;
        line-height: 18px;
        margin-top: 12px;
    }

    #index div.blog div.articles{
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    #index div.blog div.articles div.article{
        width: calc(50% - 5px);
    }
    #index div.blog div.articles div.article div.information{
        height: 350px;
    }

    #index div.reviews div.list div.review{
        width: calc(50% - 7px) !important;
    }
}

@media(max-width: 800px){
    #index div.slider div.swiper-slide div.overlay div.information p{
        margin-bottom: 20px;
    }
    #index div.slider div.swiper-slide div.overlay div.information p.title{
        width: 400px;
        margin-bottom: 10px;
        font-size: 22px;
        line-height: 25px;
    }

    #index div.what-we-sell > p{
        width: 100%;
    }
    #index div.what-we-sell div.types > div{
        width: calc(50% - 5px);
    }
    #index div.what-we-sell div.types > div div.text{
        height: 30vw;
    }
    #index div.what-we-sell div.types > div div.text h2,
    #index div.what-we-sell div.types > div div.text h2 a{
        max-width: 100%;
        font-size: 18px;
        line-height: 22px;
    }

    #index div.bestsellers div.products div.product{
        height: 40vw;
    }

    #index div.window-ranges div.types{
        justify-content: center;
    }
    #index div.window-ranges div.types div{
        width: 50%;
        padding-right: 20px;
    }
    #index div.window-ranges div.types div img{
        margin-bottom: 0px;
    }

    #index div.relevant-store-information div.blocks{
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }
    #index div.relevant-store-information div.blocks div{
        width: 100%;
        height: auto;
        padding: 20px;
    }
    #index div.relevant-store-information div.blocks div p{
        padding-right: 60px;
    }
    #index div.relevant-store-information div.blocks div > a {
        bottom: 12px;
        right: 15px;
    }

    #index div.advantages-list div.advantage div{
        width: 135px;
        height: 135px;
    }
    #index div.advantages-list div.advantage h3{
        width: 135px;
    }

    #index div.blog div.articles div.article div.information{
        height: 400px;
    }
}

@media(max-width: 700px){
    #index div.what-we-sell div.types > div div.text{
        height: 38vw;
    }

    #index div.bestsellers div.products div.product{
        height: 45vw;
    }

    #index div.relevant-store-information div.blocks{
        gap: 20px;
    }

    #index div.advantages-list div.advantage div{
        width: 125px;
        height: 125px;
    }
    #index div.advantages-list div.advantage h3{
        width: 125px;
        margin-top: 10px;
    }

    #index div.blog div.articles{
        gap: 20px;
    }
    #index div.blog div.articles div.article{
        width: 100%;
    }
    #index div.blog div.articles div.article div.information{
        padding: 20px;
        height: 300px;
    }
    #index div.blog div.articles div.article div.information > a{
        bottom: 15px;
        right: 18px;
    }
}

@media(max-width: 600px){
    #index div.slider div.swiper-button-prev{
        left: 10px;
    }
    #index div.slider div.swiper-button-next{
        right: 10px;
    }
    #index div.slider div.swiper-button-next img, #index div.slider div.swiper-button-prev img{
        width: 20px;
    }
    #index div.slider div.swiper-slide div.overlay.right div.information,
    #index div.slider div.swiper-slide div.overlay.left div.information{
        padding: 0px 50px;
        align-items: center;
        text-align: center;
    }
    #index div.slider div.swiper-slide div.overlay div.information p{
        width: 100% !important;
    }
    #index div.slider div.swiper-slide div.overlay div.information p.title{
        font-size: 20px;
        line-height: 24px;
    }

    #index div.what-we-sell,
    #index div.bestsellers,
    #index div.window-ranges,
    #index div.advantages-list,
    #index div.blog,
    #index div.reviews{
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 30px;
    }

    #index div.what-we-sell h1{
        width: 100%;
    }
    #index div.what-we-sell div.types {
        margin-top: 30px;
    }
    #index div.what-we-sell div.types > div{
        width: 100%;
        margin-bottom: 10px;
    }
    #index div.what-we-sell div.types > div:first-child{
        margin-bottom: 20px;
    }
    #index div.what-we-sell div.types > div > a:hover{
        opacity: 1;
    }
    #index div.what-we-sell div.types > div div.text {
        height: 200px;
        padding: 20px;
    }
    #index div.what-we-sell div.types > div div.text > a{
        bottom: 13px;
        right: 15px;
    }

    #index div.bestsellers div.products div.product{
        height: auto;
    }
    #index div.bestsellers div.products div.product div.image{
        height: auto;
        width: calc(100% - 2px);
    }
    #index div.bestsellers div.products div.product div.image a{
        height: auto;
        width: 100%;
    }
    #index div.bestsellers div.products div.product div.image img{
        max-width: 300px;
        width: 100%;
        height: auto;
    }
    #index div.bestsellers div.products div.product div.information{
        height: 150px;
        position: relative;
    }
    #index div.bestsellers div.products div.product div.information p{
        padding: 20px;
    }
    #index div.bestsellers div.products div.product div.information div.bottom{
        bottom: 20px;
    }
    #index div.bestsellers div.products div.product div.information div.bottom a{
        margin-right: 20px;
    }
    #index div.bestsellers div.products div.product div.information div.bottom div.price{
        padding-left: 20px;
    }

    #index div.window-ranges div.types div{
        width: 100%;
        padding-right: 0px;
        margin-bottom: 15px;
    }
    #index div.window-ranges div.types div img{
        max-width: 300px;
    }
    #index div.window-ranges div.types div p{
        text-align: center;
    }

    #index div.relevant-store-information > img{
        display: none;
    }
    #index div.relevant-store-information div.blocks{
        background-image: url(https://labuenaventana.enmantenimiento.es/img/web/pages/home/mujer-mirando-exterior-ventana.jpg);
        height: auto;
        background-position: center;
        background-size: cover;
        padding: 40px 20px;
        position: relative;
    }
    #index div.relevant-store-information div.blocks div > a {
        right: 16px;
        bottom: 15px;
    }

    #index div.advantages-list div.advantage{
        width: 50%;
    }
    #index div.advantages-list div.advantage:first-child,
    #index div.advantages-list div.advantage:nth-child(3){
        margin-bottom: 25px;
    }

    #index div.blog div.articles{
        margin-top: 20px;
    }
    #index div.blog div.articles div.article div.information{
        height: 360px;
    }

    #index div.reviews div.list div.review{
        padding: 20px 0px;
        width: calc(100% - 2px) !important;
    }
    #index div.reviews div.list div.review p{
        padding: 0px 20px;
    }
    #index div.reviews div.list div.review div.rating img:first-child{
        margin-left: 0px;
    }
}

@media(max-width: 400px){
    #index div.what-we-sell div.types > div div.text{
        height: 230px;
    }

    #index div.bestsellers div.products div.product div.image img{
        max-width: 100%;
    }

    #index div.advantages-list div.advantage div{
        width: 115px;
        height: 115px;
    }
    #index div.advantages-list div.advantage h3{
        width: 115px;
    }

    #index div.blog div.articles div.article div.information{
        height: 250px;
    }
    #index div.blog div.articles div.article div.information p.text{
        display: none;
    }
}

@media(max-width: 350px){
    #index div.what-we-sell div.types > div div.text{
        height: 260px;
    }

    #index div.advantages-list div.advantage{
        align-items: flex-end;
    }
    #index div.advantages-list div.advantage:first-child,
    #index div.advantages-list div.advantage:nth-child(3),
    #index div.advantages-list div.advantage:nth-child(5){
        align-items: flex-start;
    }
    #index div.advantages-list div.advantage div{
        width: 110px;
        height: 110px;
    }
    #index div.advantages-list div.advantage h3{
        width: 110px;
    }

    #index div.blog div.articles div.article div.information{
        height: 300px;
    }
}