.home .site.container {
    max-width: 100%;
    margin: 0;
}

.home .spaced-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.home.home.separate-containers .site-main {
    margin: 0;
}

.home section {
    padding: 1.5rem;
}

.home section:nth-child(odd) {
    background: var(--secondary-background);
}

.home.separate-containers .inside-article {
    padding: 0;
}

.home.home.separate-containers .site-main,
.home .entry-content:not(:first-child) {
    margin-top: 0;
}

.home .entry-content .grid-container {
    padding: 0 1.5rem;
}


.home #home_slider {
    display: block;
    position: relative;
    /* max-height: 60dvh; */
    overflow: hidden;
    padding: 0;
    background: none;
}

.home #home_slider .slide,
.home #home_slider .slide picture {
    width: 100%;
    display: block;
    position: relative;
    /* max-height: 700px; */
}

.home #home_slider .slide picture img {
    width: 100%;
}

.home #home_slider .slide .title {
    display: none;
}


.home #home_slider .owl-prev {
    left: 0;
}

.home #home_slider .owl-next {
    right: 0;
}

.home #home_slider .owl-dots {
    width: 100%;
    position: absolute;
    bottom: 1rem;
}


.home #home_categories .spaced-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.home #home_categories #product-list {
    width: 100%;
}

.home #home_categories .selector-cat {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: .5rem;
    padding: .25rem;
    gap: .25rem;
}

.home #home_categories .button-cat {
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-size: .9rem;
    user-select: none;
    cursor: pointer;
    transition: all .3s ease-in-out;

    &:hover {
        background: var(--light);
    }
}

.home #home_categories .button-cat.selected {
    background: var(--primary);
    color: var(--background);
    font-weight: 600;
}


.home #home_related {
    padding: 0;
}

.home #home_related a {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid transparent;
    transition: all .3s ease-in-out;
}

.home #home_related picture {
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-height: 500px; */
    overflow: hidden;
    background: var(--background);
}

.home #home_related picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home #home_related .title {
    position: absolute;
    bottom: 0;
    margin: auto;
    display: none;
}


.home #home_related .button {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    padding: .5rem 1.5rem .35rem 1.5rem;
    font-size: .8rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    transition: all .3s ease-in-out;
}

.home #home_related a:hover {
    border-bottom: 2px solid var(--primary);
}

.home #home_related a:hover .button {
    bottom: 0;
}


.home #home_bestsellers {
    position: relative;
    padding: 1.5rem;
}

.home #home_bestsellers p {
    font-size: .9rem;
}

.home #home_bestsellers div.products.owl-carousel {
    gap: 0;
}

.home #home_bestsellers .owl-carousel .owl-stage-outer {
    width: 100%;
    padding: .5rem;
}

.home #home_bestsellers .owl-carousel[class*=columns-] div.product,
.home #home_bestsellers .owl-carousel[class*=columns-] div.product {
    width: calc(100% - 1rem) !important;
}

.home #home_bestsellers .show_more {
    text-align: right;
}

.home #home_bestsellers .show_more .button {
    width: fit-content;
    display: flex;
    gap: .25rem;
    margin-left: auto;
    align-items: center;
    text-transform: none;
    font-weight: 600;
    font-size: .9rem;
    padding: .25rem .5rem .25rem 1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    line-height: 1;
    background: var(--background);
    border-radius: .25rem;
    transition: all .3s ease-in-out;

    &::after {
        content: '→';
        display: block;
        width: 1.5rem;
        height: 1.5rem;
        font-weight: 500;
        line-height: 1.5rem;
        font-size: 1rem;
    }

    &:hover {
        background: var(--primary);
        color: var(--background);
    }
}

.home #testimonial {
    width: 100%;
    background: var(--secondary-background);
}

.home #testimonial .testimonial-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.home #testimonial .testimonial-list .owl-stage-outer {
    width: 100%;
    padding: .5rem;
}

.home #testimonial .testimonial {
    width: calc(100% - 1rem);
    background: var(--background);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    font-size: .9rem;
    line-height: 1.1;
    border-radius: .5rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
}

.home #testimonial .owl-stage-outer .testimonial {
    min-width: calc(100% - .95rem);
}

.home #testimonial .testimonial picture {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    width: 150px;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
    background: var(--light);
    border: 2px solid var(--secondary);

    &::after {
        z-index: -1;
        display: block;
        content: '';
        -webkit-mask-image: url('../img/logo-webotanix.svg');
        mask-image: url('../img/logo-webotanix.svg');
        mask-repeat: no-repeat;
        mask-position: center center;
        mask-size: 80%;
        width: 100%;
        height: 100%;
        inset: 1;
        position: absolute;
        background-color: var(--primary);
        color: var(--primary);
        align-items: center;
    }
}

.home #testimonial .testimonial picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.home #testimonial .testimonial .content {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.home #testimonial .testimonial .h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 600;
}

.home #testimonial .testimonial .h4 {
    font-size: .9rem;
    line-height: 1.1;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: .5rem;
}

.home #testimonial .testimonial .text p {
    position: relative;
    margin-bottom: .5rem;
    line-height: 1;
}

.home #home_blog {
    width: 100%;
    gap: .5rem;
    overflow: hidden;
}

.home #home_blog .tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    border-bottom: 2px solid var(--secondary);
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.home #home_blog .tabs .tab {
    padding: .4rem 1rem .5rem 1rem;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--light);
    border-bottom: 1px solid var(--secondary);
    border-bottom: none;
    cursor: pointer;
    background: var(--background);
}

.home #home_blog .tabs .tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--background)
}

.home #home_blog .entries {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 0;
    overflow: hidden;
}

.home #home_blog .entries.active {
    height: fit-content;
    overflow: inherit;
}

.home #home_blog .entries_list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: .5rem;
}


.home #home_blog .entries_list .content {
    width: 100%;
}

.home #home_blog .entries .content p {
    font-size: .95rem;
    margin: 0;
    padding: 0 0 .5rem 0;
}

.home #home_blog .entries .owl-stage-outer {
    padding: .5rem;
}



.home #home_blog .entries .entry {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .5rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    background: var(--primary);

    &::before {
        z-index: -1;
        content: "";
        width: 150%;
        height: 150%;
        left: -25%;
        top: -25%;
        position: absolute;
        background: url('../img/logo-blanco.png') 1rem 1rem repeat;
        background-size: 120px;
        transform: rotate(-5deg);
        opacity: .05;
    }
}

.home #home_blog .entries .owl-stage-outer .entry {
    width: calc(300px - 1.5rem);
}

.home #home_blog .entries .entry a {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: var(--background);
}

.home #home_blog .entries .entry picture {
    display: block;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    left: 1.5rem;
    top: 1rem;
    position: relative;
    background: var(--background);
    border: 1px solid var(--background);
}

.home #home_blog .entries .entry picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home #home_blog .entries .entry .category {
    width: fit-content;
    padding: .13rem .5rem .15rem .5rem;
    margin-top: 1rem;
    margin-left: 1.5rem;
    font-size: .75rem;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 1rem;
    color: var(--background);
    background: var(--primary);
    border: 1px solid var(--background);
}

.home #home_blog .entries .entry .title {
    width: 100%;
    padding: 0 1.5rem;
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    height: 4rem;
    overflow: hidden;
    color: var(--background);
}

.home #home_blog .entries .entry .author {
    width: 100%;
    padding: 0 1.5rem;
    font-weight: 500;
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--background);
}

.home #home_blog .entries .entry .content {
    position: relative;
    z-index: 1;
    background: var(--background);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    color: var(--primary);
    padding: 1.1rem;
}

.home #home_blog .entries .entry .resume {
    font-size: .85rem;
    letter-spacing: 0;
}

.home #home_blog .entries .entry .button {
    width: fit-content;
    display: block;
    text-align: left;
    text-transform: none;
    border-radius: .25rem;
    padding: .5rem 0 .35rem .75rem !important;
    font-size: .9rem !important;
    line-height: 1.3rem;
    letter-spacing: 0;
    margin-top: .5rem;
}

.home #home_blog .entries .entry .button:after {
    content: '→';
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.3rem;
    float: right;
    font-weight: 500;
    margin-left: .75rem;
}


.home #home_ratings {
    /* margin: 2rem auto; */
}


.home #home_benefits {
    width: 100%;
    padding: 1.5rem;
}

.home #home_benefits .spaced-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem auto;
    max-width: 800px;
}

.home #home_benefits .h2 {
    width: 100%;
    text-align: center;
}

.home #home_benefits .benefit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 500;
    padding: 1rem;
}

.home #home_benefits .benefit img {
    width: 64px;
    height: 64px;
    fill: var(--secondary);
}

.home #home_benefits .benefit span {
    width: 200px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.1;
    font-weight: 600;
}

.home #home_certificates .spaced-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.home #home_certificates .h2 {
    width: 100%;
    text-align: center;
}

.home #home_certificates .spaced-container img {
    max-height: 56px;
    margin: auto;
}


.home #newsletter {
    background: var(--primary);
    color: var(--background);
    font-size: .852rem;
}

.home #newsletter .h2 {
    width: 100%;
    margin-bottom: 1.5rem;
}

.home #newsletter a {
    color: var(--background);
    text-decoration: underline;
}

.home #newsletter p b {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: .5rem;
}

.home #newsletter .wpcf7-form-control {
    border: none;
}

.home #newsletter .wpcf7-acceptance {
    display: flex;
    width: 100%;
    align-items: center;
    color: var(--background);
    margin-top: 1rem;

}

.home #newsletter .wpcf7-acceptance span,
.home #newsletter .wpcf7-acceptance span label {
    width: 100%;
    font-weight: 500;
    color: var(--background);
}

.home #newsletter .button {
    border: 1px solid var(--background);
    border-radius: .25rem;
    font-weight: 600;
    font-size: .952rem;
    letter-spacing: .5px;

    &:hover {
        background: var(--background);
        color: var(--primary);
    }
}

/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {
    .home #home_blog .entries .entry {
        width: calc(50% - 1rem);
    }

    .home #home_benefits .benefit {
        width: calc(33.33% - 1rem);
    }
}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {
    .home section {
        padding: 3rem 0;
        margin: 0 auto;
    }

    .home #testimonial .testimonial {
        max-width: calc(50% - .75rem);
        flex-wrap: nowrap;
        justify-content: space-between;
        aspect-ratio: inherit;
    }

    .home #testimonial .owl-stage-outer .testimonial {
        min-width: calc(100% - 1rem);
    }

    .home #newsletter form label {
        width: calc(50% - .5rem);
    }
}

/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {
    .home #home_blog .entries .entry {
        width: calc(25% - 1.15rem);
        aspect-ratio: 3/4;
    }
}