.single-product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px !important;
}

.single-product .button:hover {
    background: var(--primary) !important;
}

.single-product .summary .button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/icons/cart-white.svg');
    margin-right: .25rem;
}

.single-product .type-product .inside-article .type-product {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.woocommerce div.product div.images .flex-control-thumbs {
    max-height: 80px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: calc(25% - 1rem);
    border-radius: .25rem;
    overflow: hidden;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    margin: .5rem;
}

.woocommerce div.product div.images .flex-control-thumbs.owl-carousel li {
    width: calc(100% - 1rem);
}



.single-product .flex-control-thumbs .owl-prev {
    left: -1rem;
}

.single-product .flex-control-thumbs .owl-next {
    right: -1rem;
}


.single-product .summary {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
    float: none !important;
    margin: 0 !important;
    font-size: .9rem;
    line-height: 1.2;
}

.single-product .summary strong {
    font-weight: 700;
}

.single-product p.price,
.single-product p.price *,
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-price * {
    width: 100%;
    margin: 0 !important;
    text-align: right;
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary);
}

.single-product p.price {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.single-product p.price del bdi,
.single-product p.price del bdi span {
    text-decoration: line-through;
    font-size: 1.25rem;
}

.single-product form.cart {
    width: 100%;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.single-product #product-volume-discounts {
    width: 100%;
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.single-product #product-volume-discounts .h3 {
    font-family: 'Bree';
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .15px;
}

.single-product .volume-discount {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 .5rem;
    padding: 1rem;
    margin: .5rem 0;
    background: var(--background);
    border-radius: .5rem;
    border: 2px solid var(--light);
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    cursor: default;
    transition: all .3s ease;

    &:hover {
        border-color: var(--secondary);
        box-shadow: 0 0 .15rem rgba(0, 0, 0, 0.1);
    }
}

.single-product .site .volume-discount .label {
    position: absolute;
    width: fit-content;
    top: -.75rem;
    right: 1rem;
    left: auto;
    padding: .25rem .75rem;
    border: none;
    border-radius: 1rem;
    background: var(--secondary);
    color: var(--background);
    border: 1px solid var(--primary);
    font-weight: 700;
    line-height: 1;
}

.single-product .volume-discount picture {
    position: relative;
    width: 75px;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.single-product .volume-discount picture img {
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all .3s ease;
}

.single-product .volume-discount:hover picture img {
    transform: scale(1.05);
}


.single-product .volume-discount .content {
    width: calc(100% - 75px - .5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.single-product .volume-discount .content .price {
    display: flex;
    flex-direction: column;
}

.single-product .volume-discount span.regular-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}


.single-product .volume-discount .h4 {
    width: 100%;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: 'Bree';
}

.single-product .volume-discount picture .multiplier {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1;
    padding: .25rem;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid var(--primary);
    color: var(--background);
    background: var(--secondary);
    border-radius: 1rem;
    letter-spacing: -1px;
}



.single-product .volume-discount .price,
.single-product .volume-discount .regular-price {
    min-width: 33.33%;
    font-size: 1.1rem;
    line-height: 1.1;
    font-weight: 500;
}

.single-product .volume-discount .price {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.single-product .volume-discount .discount {
    font-size: .8rem;
    font-weight: 500;
    color: var(--secondary);
}

.single-product .volume-discount .discount strong {
    font-size: .85rem;
    font-weight: 600;
}

.single-product .volume-discount .price del {
    text-decoration: line-through;
    font-size: .9rem;
}

.single-product .volume-discount .button {
    position: relative;
    display: flex;
    padding: .2rem;
    justify-content: flex-start;
    min-width: 120px;
    height: 1.75rem;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;

    &::before {
        min-width: 1.25rem;
        width: 1.25rem;
        height: 1.25rem;
    }

    &:hover {
        background: var(--secondary) !important;
    }
}

.single-product .volume-discount:hover .button {
    min-width: 120px;
}

.single-product .volume-discount .button span {
    position: absolute;
    width: 120px;
    font-weight: 500;
    line-height: 1.35rem;
    font-size: .85rem;
    padding-left: .75rem;
    text-transform: none;
    transition: all .3s ease;
}




.single-product .product-presentation {
    width: 100%;
    font-size: .85rem;
    margin-bottom: .75rem
}


.single-product form.cart .qty {
    display: none;
}

.single-product form.cart .variations_button {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
}

.single-product form.cart .reset_variations {
    width: 100%;
    text-align: right;
    color: var(--primary);
    line-height: 1;
}

.single-product form.cart .variations_button .button {
    width: max-content;
    background: var(--primary) !important;
}


.single-product .custom-benefits {
    width: 100%;
    font-size: .8rem;
}

.single-product .benefit span {
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 150px;
    text-align: center;
    font-size: .8rem;
    line-height: 1.1;

    &::before {
        content: '';
        display: block;
        margin-bottom: .75rem;
        width: 48px;
        height: 48px;
        background-color: var(--secondary);
    }
}

.single-product .benefit.pago-seguro span {
    &::before {
        width: 38px;
        height: 38px;
        -webkit-mask: url('../img/icons/pago-seguro.svg') no-repeat center;
        mask: url('../img/icons/pago-seguro.svg') no-repeat center;
        mask-size: contain;
        mask-position: center center;
    }
}

.single-product .benefit.envios-24 span {
    &::before {
        -webkit-mask: url('../img/icons/envios-24h.svg') no-repeat center;
        mask: url('../img/icons/envios-24h.svg') no-repeat center;
        mask-size: contain;
        mask-position: center center;
    }
}

.single-product .benefit.envio-gratis span {
    &::before {
        -webkit-mask: url('../img/icons/envio-gratis.svg') no-repeat center;
        mask: url('../img/icons/envio-gratis.svg') no-repeat center;
        mask-size: contain;
        mask-position: center center;
    }
}

.single-product .benefit.fracciona-pago span {
    &::before {
        -webkit-mask: url('../img/icons/fracciona-pago.svg') no-repeat center;
        mask: url('../img/icons/fracciona-pago.svg') no-repeat center;
        mask-size: contain;
        mask-position: center center;
    }
}

.single-product .datasheet {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: .5rem;
}

.single-product .datasheet .data {
    width: 100%;
}

.single-product .datasheet .data .title {
    font-size: 1rem;
    font-weight: 600;
    padding: .25rem 0 .25rem .5rem;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.single-product .datasheet .data .title::after {
    display: inline;
    content: '+';
    float: right;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.3rem;
    text-align: center;
    color: var(--secondary);
    font-weight: 600;
}

.single-product .datasheet .data.active .title,
.single-product .datasheet .data.active .title::after {
    content: '-';
    font-weight: 700;
}

.single-product .datasheet .data .content {
    font-size: .9rem;
    letter-spacing: 0;
    padding: 1rem .5rem;
    display: none;
}

.single-product .datasheet .data.active .content {
    display: block;
}

.single-product .datasheet .data .content p {
    margin: 0;
    padding: 0 0 .5rem 0;
    line-height: 1.2;
}

.single-product .datasheet .data .content ul {
    margin: 0.25rem 0 .25rem 1.5rem;
}

.single-product .datasheet .data .content li {
    margin-bottom: .25rem;
}

.single-product .datasheet .data .content p:last-child {
    padding: 0;
}

.single-product .datasheet .data.ingredientes .content {
    font-style: italic;
    font-size: .85rem;
}

.single-product .datasheet .data.ingredientes em {
    display: block;
    letter-spacing: 0;
    line-height: 1.1;
}

.single-product .datasheet .data.informacion_nutricional .content {
    width: 100%;
    overflow-x: scroll;
}

.single-product .datasheet .data table {
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
    border-radius: .25rem;
    overflow-x: auto;
}

.single-product .datasheet .data table,
.single-product .datasheet .data table * {
    width: 100%;
    border-color: var(--light);
    font-size: .9rem;
}

.single-product .datasheet .data table th {
    background: var(--light);
    color: var(--primary);
    width: 100%;
    white-space: nowrap;
    text-align: left;
}

.single-product .datasheet .data table td {
    width: fit-content;
}

.single-product .datasheet li {
    margin-bottom: .15rem;
}


.single-product .product-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    border: 1px solid var(--light);
    background: var(--background);
    padding: 1rem .5rem;
    margin: 1rem 0;
    font-size: .8rem;
}

.single-product .product-benefits .benefit {
    width: calc(50% - .5rem);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: space-around;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    color: var(--primary);
}

.single-product .product-benefits .benefit svg {
    fill: var(--secondary);
    width: 36px;
    height: 36px;
}

.single-product .product-benefits .benefit svg path {
    fill: var(--secondary);
}

.single-product .upsells {
    width: 100%;
}

.single-product .upsells h2,
.single-product .upsells .woocommerce-loop-product__title {
    font-family: 'Bree';
    font-weight: 500;
    letter-spacing: .15px;
    font-size: 1.25rem;
    margin: 0 0 .5rem .5rem;
    padding: 0;
    height: fit-content !important;
}

.single-product .upsells .products[class*=columns-] {
    width: 100%;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
}

.single-product .upsells .products.owl-carousel .owl-stage-outer {
    width: 100%;
    padding: .5rem;
}

.single-product .upsells .products[class*=columns-] div.product,
.single-product .upsells .products.owl-carousel .product {
    max-width: calc(100% - 1rem);
}

.single-product #product_content {
    width: 100%;
    font-size: .95rem;
    line-height: 1.2;
    overflow: hidden;
}

.single-product .product-certificates {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.single-product .product-certificates .certificate {
    width: calc(16.66%);
    aspect-ratio: 1/1;
    background: -webkit-radial-gradient();
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    padding: .5rem;
    font-size: .8rem;
    overflow: hidden;
}

.single-product .product-certificates .label img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.single-product .product-video {
    width: 100%;
    aspect-ratio: 16/9;
}


.single-product #ingredients {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    margin: 1.5rem 0;
}

.single-product #ingredients .h2,
.single-product #ingredients .h3 {
    width: 100%;
}

.single-product #ingredients .h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.single-product #ingredients .ingredient-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.single-product #ingredients .ingredient {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    padding: 1rem;
    font-size: .95rem;
    border-radius: .5rem;
    background: var(--background);
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    transition: all .3s ease;

    &:hover {
        box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.1);
    }
}

.single-product #ingredients .ingredient picture {
    width: 64px;
    max-width: 25%;

}

.single-product #ingredients .ingredient .content {
    width: calc(75% - 1rem);
}

.single-product #ingredients .ingredient .h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
    font-weight: 700;
    color: var(--primary);
}

.single-product #ingredients .ingredient p {
    padding: 0;
    margin: 0;
    font-size: .85rem;
    line-height: 1.1;
}

.single-product #ingredients .show_more {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    font-size: .8rem;
    line-height: 1;
    color: var(--secondary);
    transition: all .3s ease;

    &::before {
        content: '';
        width: .5rem;
        height: .5rem;
        background: url('../img/icons/hoja.svg') no-repeat;
        background-size: contain;
        background-position: center center;
        opacity: .25;
        rotate: -90deg;
        transition: all .3s ease;
    }

    &:hover {
        text-decoration: underline;

        &::before {
            opacity: .75;
        }
    }
}

.single-product #special_content {
    width: 100%;
    font-size: .9rem;
    line-height: 1.2;
    padding: 1.5rem 0;
    margin: 0;
    position: relative;
    z-index: 1;

    &:after {
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        content: '';
        display: block;
        width: calc(100dvw - .5rem);
        padding: 0;
        margin-left: calc((1200px - 100dvw) / 2);
        height: 100%;
        background: var(--light);
        overflow: hidden;
    }
}

.single-product #product_content {
    font-size: .9rem;
    line-height: 1.2;
}

.single-product #product_content strong {
    font-weight: 700;
}

.single-product #product_content ul {
    list-style: initial;
    margin-left: 1.5rem;
}

.single-product #product_content ul ul {
    margin: .5rem 1.5rem;
}

.single-product #product_content li {
    margin-bottom: .25rem;
}

.single-product #product_content .bt_more {
    width: 100px;
    user-select: none;
    margin: 0 auto;
    padding: .5rem 1rem;
    color: var(--secondary);
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    transition: all .3s ease;

    &:hover {
        background: var(--secondary);
        color: var(--primary);
    }
}

.single-product #product_content .hidden.show {
    display: block;
}

.single-product .product-ratings {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {

    .single-product .type-product {
        gap: 2rem;
    }

    .single-product .woocommerce-product-gallery,
    .single-product .summary {
        width: calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
        float: none;
    }

    .woocommerce #content div.product div.images,
    .woocommerce div.product div.images,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page div.product div.images {
        width: 50%;
    }



    .single-product #ingredients .ingredient {
        width: calc(50% - .75rem);
        flex-direction: row;
    }

    .single-product .product-benefits .benefit {
        width: calc(25% - .75rem);
    }

    .single-product .volume-discount .content {
        justify-content: flex-start;
    }

    .single-product .volume-discount .button {
        min-width: 1.75rem;
        max-width: 1.75rem;
        position: absolute;
        right: .75rem;
        bottom: .75rem;
    }

    .single-product .upsells .products[class*=columns-] div.product {
        width: 100%;
        min-height: calc(150px + 1.5rem);
        margin: .5rem;
        padding: 1rem .75rem;
        gap: 0.15rem;
    }

    .single-product .upsells .products[class*=columns-] div.product img {
        width: 150px;
        float: left;
        position: absolute;
    }

    .single-product .upsells .products[class*=columns-] div.product .woocommerce-loop-product__title,
    .single-product .upsells .products[class*=columns-] div.product .trustedShopsWidget,
    .single-product .upsells .products[class*=columns-] div.product .price,
    .single-product .upsells .products[class*=columns-] div.product .excerpt,
    .single-product .upsells .products[class*=columns-] div.product .button {
        display: block;
        margin-left: 150px;
    }

    .single-product .upsells .products[class*=columns-] div.product .button {
        width: fit-content;
        margin-top: .75rem;
        font-size: .9rem;
        padding: .5rem 1rem;
        line-height: 1;
        align-items: center;

        &::before {
            width: 20px;
            height: 20px;
        }
    }

    .woocommerce div.product div.images .flex-control-thumbs {
        max-height: 140px;
    }

}

/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {
    .single-product.separate-containers #breadcrumbs {
        padding: .5rem 0;
    }

    .single-product.separate-containers .inside-article {
        padding: 1.5rem 0;
    }

    .single-product #ingredients .ingredient {
        width: calc(33.33% - 1rem);
        flex-direction: row;
    }

    .single-product .upsells .products[class*=columns-] div.product img {
        margin-top: .75rem;
    }

    .single-product .upsells .products[class*=columns-] div.product .excerpt {
        height: fit-content;
    }

    .single-product .upsells .products[class*=columns-] div.product .woocommerce-loop-product__title,
    .single-product .upsells .products[class*=columns-] div.product .woocommerce-loop-product__title a {
        min-height: 0;
    }

    .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        margin: 1.5rem 0;
    }

    .col-md-6 {
        width: calc(50% - 1rem);
    }
}