/*
 Theme Name:   Astra Child
 Theme URI:    http://loscurricocos.com/astra-child/
 Description:  Astra Child Theme
 Author:       Razu
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
*/



/* Importar el estilo del tema padre */
@import url("../astra/style.css");









/* Estilo normal del icono */
.custom-cart-icon img {
    width: 32px; /* Ajusta el tamaño del icono */
    height: 32px;
    fill: orange; /* Color del icono */
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
}

/* Cambiar apariencia al pasar el ratón */
.custom-cart-icon:hover img {
    transform: scale(1.2); /* Agranda ligeramente el icono */
    filter: drop-shadow(3px 3px 5px rgba(255, 165, 0, 0.8)); /* Sombra más intensa */
}



/*botón entrar*/
.bot-entr a{
	display:block;
	text-align:center;
	
	font-size:1.4rem;
	color:#fcb900;
}
.bot-entr a:hover{
	display:block;
	text-align:center;
	
	font-size:1.5rem;
	color:#ffcd8c;
}
/* Ocultar zoom */
.pswp {

    display: none;
}

/* descripción de producto */

/*centrar título*/
.wp-block-heading{
text-align:center;

font-size: xx-large;
}
/*centrar logo*/
.wp-block-image{
	padding: 50px 10px 10px;
}

.button.pswp__button{
    display:none;
}
/* Mi CSS personalizado va aquí */
body .woocommerce-js .woocommerce-breadcrumb {
    color: #94FFC9;
}
body .woocommerce-js .woocommerce-breadcrumb a {
    color: #8DACA4;
}
body .woocommerce-js ul.products li.product .ast-woo-product-category,
body .woocommerce-page ul.products li.product .ast-woo-product-category {
    opacity: 1;
}
body .woocommerce-js div.product .woocommerce-tabs ul.tabs li a {
    color: #8DACA4;
}
body .woocommerce-js div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #94FFC9;
}
body label, body legend {
    color: #8DACA4;
}
body .woocommerce-js .woocommerce-ordering select {
    color: #fff;
}
body .logo-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 100%;
    object-fit: contain;
}
body .wp-block-image.aligncenter.size-large.is-resized {
    max-width: 100%;
    display: flex;
    justify-content: center;
}
body .wp-block-image.aligncenter.size-large.is-resized a {
    display: flex;
    justify-content: center;
}
body .wp-block-image.aligncenter.size-large.is-resized img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Estilos personalizados */
/*body #menu-item-284 a {
/*    direction: ltr; /* Añadir dirección explícita */
 /*   text-indent: -9999px; /* Oculta el texto */
/*}
/*body #menu-item-284 a::before {
/*    content: url('https://loscurricocos.com/img/carrito-ico.svg'); /* Ruta del icono SVG */
/*    width: 20px; /* Ajusta el tamaño según sea necesario */
 /*   height: 75px; /* Ajusta el tamaño según sea necesario */
/*    margin-right: 2px; /* Espacio entre el icono y el texto */
 /*   text-indent: 0; /* Asegura que el texto del icono esté visible */
/*}

/* Estilos adicionales */
body .woocommerce-js .woocommerce-ordering select {
    color: #8DACA4;
}
body .woocommerce-js .woocommerce-ordering select option {
    background: #183141; /* Mismo color de fondo para las opciones */
    color: #8DACA4; /* Color del texto para las opciones */
}
body label, body legend {
    font-size: 18px;
}
body .woocommerce-js .quantity .qty {
    font-size: 19px;
    font-family: auto;
}
body .woocommerce-Address h3, body .cart-collaterals h2, body .shop_table thead, body .woocommerce-page table.shop_table thead {
    background-color: #18314100;
}
body #add_payment_method .cart-collaterals .cart_totals table small, body .woocommerce-cart .cart-collaterals .cart_totals table small, body .woocommerce-checkout .cart-collaterals .cart_totals table small {
    color: #fff;
}

















/* Reducir tamaño del icono para el menú */
.cart-menu-item {

    height: 49px;
    /*width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;*/
    margin-left: 20px;
}

.cart-menu-item .cart-count {
    position: absolute;
    right: -39px;
    background-color: #8DACA4;
    color: #ffffff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    font-family: Verdana, sans-serif;
}

.cart-menu-item .cart-contents {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative; /* Necesario para posicionar el pseudo-elemento correctamente */
}

.cart-menu-item .cart-contents::before {
    content: url('https://loscurricocos.com/img/carrito-ico.svg');
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Mantener el estilo para el icono flotante en móviles */
/* Estilos dentro de la media query */
@media (max-width: 768px) {
    #floating-cart {
        /* Estilos específicos para móviles */
        font-size: 0px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        align-items: center;
        justify-content: center;
        z-index: 1000;
        
    }

    #floating-cart.visible {
        display: flex; /* Mostrar cuando tiene la clase 'visible' */
        font-size: 0px;
    }

    .cart-count {
        position: absolute;
        top: -15px;
        right: -7px;
        background-color: #8DACA4;
        color: #ffffff;
        border-radius: 50%;
        width: 29px;
        height: 29px;
        line-height: 24px;
        text-align: center;
        font-size: 13px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Verdana, sans-serif;
    }

    #floating-cart a::before {
        content: url('https://loscurricocos.com/img/carrito-ico.svg');
        width: 37px;
        height: 34px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 0px;
    }
}

/* Estilos para el contador del carrito en el menú */
.cart-menu-item .cart-count {
    position: absolute;
    right: -39px;
    background-color: #8DACA4;
    color: #ffffff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    font-family: Verdana, sans-serif;
}