/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
#icon--whatsapp{
    position: fixed;
    z-index: 9999;
    right: 0px;
    bottom: 125px;
    background-color: #54cc61;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    padding: 0px 5px;
    font-weight: bold;
    border-radius: 25px 0px 0px 25px;
}

/*** LISTADO PRODUCTOS ***/
ul.products{
    align-items: end;
}

.woocommerce ul.products li.product {
    background-color: #0F4C8D;
    align-items: stretch;
    height: 100%;
    border-radius: 20px;
}

h2.woocommerce-loop-product__title {
    color: #fff;
}

.inside-wc-product-image {
    display: block !important;
}

ul.products li.product {
    padding: 0 !important;
}
.woocommerce ul.products li.product .button {
    margin-bottom: 1em;
}
h2.woocommerce-loop-product__title {
    font-size: 20px !important;
}
.woocommerce ul.products li.product a img {
    border-radius: 20px;
}

.margin p {
    margin-bottom: 0;
}
a.checkout-button.button.alt.wc-forward,
button#place_order,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
    border-radius: 10px !important;
}
.woocommerce table.my_account_orders .button {
    margin: 10px;
}
.precio p {
    margin-bottom: 0 !important;
}

h2.woocommerce-loop-product__title {
    width: 80%;
}
.elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link {
    display: block;
    position: relative;
    text-align: -webkit-center;
}

.micuenta { 
	padding: 50px;
}
.cart .quantity {
    display: none;
}
.postid-1559 .cart .quantity {
	display: block !important;
}
.postid-1559 input[type="number"] {
    background-color: #fff !important;
    border-radius: 15px !important;
}
.woocommerce-order-received a.woocommerce-button.button.pay,
.woocommerce-account a.woocommerce-button.button.pay {
    display: none;
}
@media (min-width: 1025px) {

}
ul.products a.button.add_to_cart_button{
    text-align: center;
    list-style: none outside;
    transition: color .1s ease-in-out,background-color .1s ease-in-out;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
    position: relative;
    overflow: visible;
    left: auto;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    line-height: inherit;
    text-transform: none;
    text-decoration: none;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    /*color: var( --e-global-color-be3ffb5 );*/
	color:#2a2a2a;
    background-color: var( --e-global-color-secondary );
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px 25px 25px 25px;
    padding: 3px 15px 3px 15px;
}

/*** ZONA PRIVADA ***/
.woocommerce-account .woocommerce .col2-set .col-1,
.woocommerce-account .woocommerce .col2-set .col-2 {
    background: #FFF;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
}

body.woocommerce-account div.woocommerce-MyAccount-content,
body.woocommerce-account nav.woocommerce-MyAccount-navigation {
    width: 100%;
    float: inherit;
}
body.woocommerce-account div.woocommerce-MyAccount-content{
    margin: 20px auto;
    max-width: 960px;
}
nav.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard{
    display: none;
}

nav.woocommerce-MyAccount-navigation ul {
    display: flex;
    border: 0px;
    max-width: 960px;
    margin: 0px auto;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    align-content: center;
}
nav.woocommerce-MyAccount-navigation li{
    width: 25%;
    text-align: center;
}
nav.woocommerce-MyAccount-navigation li a {
    padding: 70px 0px 20px 0px;
    border: 0px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid;
}
nav.woocommerce-MyAccount-navigation li.is-active a,
nav.woocommerce-MyAccount-navigation li a:hover {
    border-bottom: 1px solid #00588f;
    background-color: rgb(0 88 143   / 17%);
}
nav.woocommerce-MyAccount-navigation li a:before {
    content: "";
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}
nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a:before {
    background: url("https://autonline.es/wp-content/uploads/2021/10/pedidos.svg") no-repeat center center;
    background-size: 40px;
}
nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a:before {
    background: url("https://autonline.es/wp-content/uploads/2021/10/map.svg") no-repeat center center;
    background-size: 40px;
}
nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a:before {
    background: url("https://autonline.es/wp-content/uploads/2021/10/user.svg") no-repeat center center;
    background-size: 40px;
}
nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    background: url("https://autonline.es/wp-content/uploads/2021/10/desconectar.svg") no-repeat center center;
    background-size: 40px;
}
.woocommerce table.shop_table td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}
/**************************************/

body.woocommerce-order-pay form#order_review{
    margin-right: auto;
    margin-left: auto;
    float: inherit;
}
body.woocommerce-order-pay form#order_review table.shop_table tfoot tr:nth-child(3){
    display: none;
}
div.submit-files input[type="submit"] {
    background-color: #00588f;
}

/************** PERSONALIZAR MENSAJE DE ADD TO CART ****************/
.add-to-cart-panel.item-added {
    transform: translateY(0)!important;
}
.add-to-cart-panel .checkout a.button:hover,
.add-to-cart-panel .checkout a.button{
    background-color: #00588f;
    color: #ffffff;
    padding: 10px;
}
.add-to-cart-panel .checkout{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.add-to-cart-panel  span.woocommerce-Price-amount.amount {
    font-size: 22px;
    font-weight: bold;
}
/*.add-to-cart-panel .checkout a:last-child{
    text-decoration: underline !important;
}*/

.add-to-cart-panel.item-added .checkout a.button{
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: bounce;
    animation-delay: 0.6s;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

.add-to-cart-panel .gp-icon img {
    height: 1em;
    width: 1em;
    top: .125em;
    position: relative;
    filter: invert(100%) sepia(0%) saturate(7446%) hue-rotate(222deg) brightness(97%) contrast(99%);
    vertical-align: baseline;
}
.single-product .woocommerce-message{
    margin: 0px!important;
    padding: 0px!important;
}
/**************************************/

.woocommerce-additional-fields__field-wrapper #order_comments_field h2{
    display: none !important;
}
.woocommerce-additional-fields h3{
    margin-bottom: 5px;
}

.page-id-17 .woocommerce table.cart tbody tr:last-child {
    display: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    height: 100% !important;
    padding-top: 8px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}
.select2-container .select2-selection--single {
    height: 41px !important;
}

body.home .woocommerce-message {
    background-color: #00C6CB;
    color: #ffffff;
    position: fixed;
    bottom: 0px;
    width: 100%;
    left: 0px;
    margin-bottom: 0px;
    z-index: 99;
}

body.woocommerce-checkout ::-webkit-input-placeholder {
    color:transparent;
}
body.woocommerce-checkout :-moz-placeholder { /* Firefox 18- */
    color:transparent;
}
body.woocommerce-checkout ::-moz-placeholder {  /* Firefox 19+ */
    color:transparent;
}
body.woocommerce-checkout :-ms-input-placeholder {
    color:transparent;
}

body.woocommerce-checkout .form-row span.error{
    display: none !important;
}

@media (min-width: 1025px) {
    .hide-on-pc{
        display: none !important;
    }
    .page-id-17 .woocommerce{
        display: grid;
        grid-template-columns: 1.4fr 0.6fr;
        grid-template-rows: auto;
        gap: 0px 30px;
        grid-auto-flow: row;
        grid-template-areas:
                "Notificaciones Notificaciones"
                "Carro Resumen";
    }
    .page-id-17 .woocommerce .woocommerce-notices-wrapper { grid-area: Notificaciones; }
    .page-id-17 .woocommerce form.woocommerce-cart-form { grid-area: Carro; }
    .page-id-17 .woocommerce .cart-collaterals { grid-area: Resumen; }
    .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
        width: 100%;
    }
    /*.woocommerce-account .woocommerce .col2-set .col-1,
    .woocommerce-account .woocommerce .col2-set .col-2 {
        margin-top: -100px;
    }*/
}

@media (max-width: 767px) {
    .add-to-cart-panel .continue-shopping {
        top: -32px !important;
    }
    .add-to-cart-panel .continue-shopping > a{
        display: none !important;
    }
    nav.woocommerce-MyAccount-navigation ul {
        flex-flow: wrap;
        gap:10px;
    }
    nav.woocommerce-MyAccount-navigation li{
        width: 45%;
    }
    nav.woocommerce-MyAccount-navigation li a {
        padding: 50px 0px 20px 0px;
    }
    .woocommerce table.my_account_orders .button {
        text-align: center;
    }

    .woocommerce ul.products li.product a img {
        width: 100% !important;
    }

    /***************** PEDIDOS ZONA PRIVADA ******************/
    .woocommerce table.shop_table td, .woocommerce table.shop_table th {
        padding: 10px !important;
    }
    .woocommerce table.woocommerce-MyAccount-orders tr,
    .woocommerce-page table.woocommerce-MyAccount-orders tr {
        display: flex;
        flex-flow: wrap;
        margin-bottom: 20px;
        border: 1px solid;
    }
    .woocommerce table.woocommerce-MyAccount-orders tr td,
    .woocommerce-page table.woocommerce-MyAccount-orders tr td {
        text-align: left!important;
    }
    .woocommerce table.woocommerce-MyAccount-orders td,
    .woocommerce table.woocommerce-MyAccount-orders th {
        padding: 10px !important;
    }

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number{
        width: 25%;
    }
    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-date{
        width: 35%;
    }
    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status{
        width: 40%;
    }

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions,
    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total {
        width: 100%;
    }
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        float: inherit;
    }
    /********************************************************/
	.micuenta { 
		padding: 10px 0 0 0 !important;
	}
	
	    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
        padding: 20px;
    }

}


@media (max-width: 968px) {
    .elementor-element.elementor-element-97f936a.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
        overflow: hidden;
    }

    img.attachment-medium_large.size-medium_large.wp-image-1219 {
        opacity: .5;
    }
}


