/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2019 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

#phcarrito, #phcarritoProbadores, #phcarritoResult {
    background: #ccc;
    padding: 15px;
    margin: 1.5rem 0;
}
#phcarrito .col-md-12, #phcarritoProbadores .col-md-12 {
    margin: 15px 0;
}
#phcarrito .header, #phcarritoProbadores .header {
    text-align: center;
    color: #fff;
    background: #909090;
    padding: 5px 0;
}
#phcarrito .header .title, #phcarritoProbadores .header .title {
    font-weight: bold;
    font-size: 2rem;
}
#phcarrito [data-toggle="buttons"] > .btn input[type="radio"], #phcarrito [data-toggle="buttons"] > div > .btn input[type="radio"]{
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}
#phcarrito .btn-finalizar, #phcarritoProbadores .btn-finalizar {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    background: #f2f1f0;
    color: #000;
    white-space: pre-line;
}
#phcarrito .btn-finalizar:hover, #phcarrito #addCarrito:hover, #phcarritoProbadores .btn-finalizar:hover, #phcarritoProbadores #addCarrito:hover {
    text-decoration: none;
    color: #fff;
    background: #909090;
}
#phcarrito label, #phcarritoProbadores label {
    color: #000;
}
#phcarrito #addCarrito, #phcarritoProbadores #addCarrito {
    width: 100%;
}
#phcarrito .btn-group, #phcarritoProbadores .btn-group{
    width: 100%;
    display: contents !important;
}
#phcarrito .btn-group > div, #phcarritoProbadores .btn-group > div{
    text-align: center;
}

#phcarritoResult table{
    background: white;
}

#phcarritoResult table thead, #phcarritoResult table tfoot{
    font-weight: bold;
}

#phcarritoResult table tbody img{
    max-width: 60px;
}

#phcarrito .form-check-input, #phcarritoProbadores .form-check-input {
    position: static;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0.3125rem;
}

#phcarrito .form-check-label, #phcarritoProbadores .form-check-label{
    padding-left: 0;
}

#phcarritoLoading{
    width: 100%;
    height: 100%;
    background: rgba( 255, 255, 255, .8 );
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    text-align: center;
    padding-top: 15%;
}
#phcarritoResult .product-quantity {
    margin: 5px 10px 0px 0px;
}
.totalUnidades {
    font-size: 1.6rem;
    font-weight: bold;
}
.totalPuntos {
    font-size: 1.6rem;
    font-weight: bold;
}
.totalPuntos span{
    font-size: 2rem;
    font-weight: bold;
}

#phcarritoProbadores p{
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
}

#phcarritoProbadores p span{
    font-size: 1.5rem;
}

#phcarritoProbadores p b{
    font-size: 2rem;
}

#phcarrito .btn.active, #phcarrito .btn.btn-secondary:hover{
    background: #b7e5ff;
    box-shadow: none !important;
}
#phcarrito #descuentos, #phcarritoProbadores #descuentos {
    color: red;
}

.blanco {
    display: none;
}

/*
* Modificaciones para adaptaciones del diseño móvil del carrito
* @author: Difadi SL (info@difadi.com)
*/
@media screen and (max-width: 767px)
{
    #phcarrito,
    #phcarritoProbadores {
        background-color: #fff !important;
        margin-top: 0px;
    }

    #phcarritoProbadores .header .title {
        font-size: 1.7em;
    }

    #phcarritoProbadores p b,
    #phcarritoProbadores p span {
        font-size: 1.5rem;
    }

    #phcarrito .header,
    #phcarritoProbadores .header {
        background-color: #000;
        padding: 0px;
    }

    #phcarrito .header h3 {
        margin: 0px;
    }

    #inner-wrapper,
    #phcarrito,
    #phcarritoProbadores {
        padding: 0px;
    }

    #wrapper {
        padding-top: 0px !important;
    }

    .filaSubtitulo p {
        margin: 0px;
    }

    input.cantidad {
        font-size: 1.7em;
    }

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        opacity: 1;
    }

    .contenedorCategorias {
        justify-content: center;
    }

    .subtituloCaracteristica {
        margin-bottom: 0px;
    }

    #phcarrito .col-md-12 {
        margin-top: 0px !important;
    }

    .blanco {
        display: block;
    }

    .filaSubtitulo {
        margin-top: 10px !important;
    }

    .filaSubtitulo p {
        text-align: center !important;
    }

    .subtituloCaracteristica label,
    .filaSubtitulo p > label {
        color: #000 !important;
        font-size: 1.3em !important;
        font-weight: bold;
    }

    .subtituloCaracteristica {
        text-align: center;
    }

    .categoria {
        width: 100%;
        border-radius: 5%;
        padding: 0px;
        border: 2px solid #AEA9C9;
        background: #f8f8f8;
        margin-top: .5em;
        margin-bottom: .5em;
        display: flex;
        justify-content: center;
    }

    .categoria label {
        font-size: 1.7em;
        padding: 1.8rem;
        font-weight: bold;
        white-space: normal;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        width: 99%;
        margin-bottom: 2px;
    }

    .categoriaHover *,
    .categoriaHover {
        background: #b7e5ff !important;
        box-shadow: none !important;
        transition: .5s;
    }

    .categoriaActivo *,
    .categoriaActivo {
        background: #b7e5ff !important;
        box-shadow: none !important;
        transition: .5s;
        color: #fff !important;
        border: none !important;
    }

    .categoriasContraidas {
        padding: 0rem;
        border: 2px solid #9A95B3;
        background: #D8D8D8;
        margin-top: .5em;
        margin-bottom: .5em;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        width: 100%;
    }

    .categoriasContraidas label {
        font-size: 1.2em;
        padding: .5rem;
        font-weight: bold;
        margin: 0;
        white-space: normal;
        display: flex;
        text-transform: uppercase;
        background-color: #D8D8D8;
    }

    .searchProduct {
        background-color: #CCCCCC;
        padding: 10px;
    }

    .ordenArticulos .col-sm-4 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 0px;
    }

    .ordenArticulos .col-sm-4 label {
        font-size: 1rem;
        font-weight: bold;
    }

    .visiblePc {
        display: none;
    }

    .tamaños select {
        width: 50%;
        margin: 0 auto;
    }

    .cantidad input {
        width: 30%;
        margin: 0 auto;
        text-align: center;
    }

    .añadirCarrito {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #addCarrito,
    .finalizarCompra.visibleMovil a {
        padding: 1rem;
        border: 2px solid #AEA9C9;
        background: #fff;
        margin-top: .5em;
        margin-bottom: .5em;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        width: 45% !important;
        color: #000 !important;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 1.4em;
    }

    .finalizarCompra.visibleMovil a {
        width: 100% !important;
        background-color: #FFFADE !important;
        border-color: #A5A6A0;
        border-radius: 10px;
        font-size: 1.15em !important;
    }

    .finalizarCompra.pasarporcaja.visibleMovil a {
        width: 100% !important;
        padding: 2rem;
        background-color: #BCDBF0 !important;
        border-color: #A5A6A0;
        border-radius: 10px;
        font-size: 1.5em !important;
    }

    .totalUnidades, .datosProbadores .col-md-12 a {
        color: #000 !important;
        font-size: 1.5em;
        font-weight: bold;
    }

    #descuentos.visibleMovil {
        text-align: center;
    }

    #phcarritoProbadores {
        background-color: #fff !important;
    }

    .datosProbadores {
        background-color: #ccc !important;
        padding: 10px;
    }

}

@media screen and (max-width: 420px)
{
    label[for="orderby3"]{
        font-size: .8em !important;
    }

    #phcarritoResult table.table td {
        padding-left: 3px;
        padding-right: 3px;
    }

    #phcarritoResult table tbody img {
        max-width: 45px;
    }

}

@media screen and (max-width: 480px)
{
    .categoria label {
        font-size: 1.2em;
        padding: 1.8rem .5rem !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1230px)
{
    .categoria {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 7px;
    }

    .categoria label {
        white-space: normal;
    }

    .filaSubtitulo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (min-width: 768px)
{
    .visibleMovil {
        display: none !important;
    }
}

/* LUIS CAMBRA - EXTRA STYLES */
@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

#phcarrito .btn-finalizar.lc_disabled, 
#phcarritoProbadores .btn-finalizar.lc_disabled {
    pointer-events: none;
    background: #ccc !important;
    opacity: 0.5;
}

#module-phcarrito-display .finalizarCompra .lc_loading {
    position: relative;
    display: none;
}
#module-phcarrito-display #phcarritoProbadores .btn-finalizar.lc_disabled + .lc_loading {
    display: block !important;
}
#module-phcarrito-display .finalizarCompra .lc_loading:before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2000px;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
    z-index: 10000;
}
#module-phcarrito-display .finalizarCompra .lc_loading .lc_loading_image {
    position: fixed;
    content: '';
    left: 50%;
    top: 50%;
    z-index: 10001;
    width: 54px;
    height: 55px;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}