/*
CTC Separate Stylesheet
Updated: 2025-05-21 21:55:55
*/

#products-shop-art-stone :is(
    .woocommerce-loop-product__title,
    .woocommerce-product-details__short-description,
    .woocommerce-product-details__short-description>p,
    .price
) {
    display: inline !important;
    color: #D2A753;
}

#products-shop-art-stone .products > li > div {
    pointer-events: none;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#products-shop-art-stone :is(
    .woocommerce-product-details__short-description,
    .woocommerce-product-details__short-description>p,
) {
    font-size: 14px;
}

#products-shop-art-stone :is(
    .price
) {
    font-weight: 400 !important;
    color: #D2A753;
}

div nav div ul .menu-item.nav-item a {
	color: white;
}

/********************************************************************************/
/********************** Filter Products de la tienda ************************/
/********************************************************************************/

#filter-products > div .filters-container form > div .filter-title,
#filter-products > div .filters-container form div ul li label a    {
    color: black !important;
}

#filter-products > div .filters-container form > div .filter-title {
	font-size: 18px;
}

#filter-products input[type="checkbox"] {
    /* Quita estilos nativos */
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #A0772E; /* Borde personalizado */
    border-radius: 3px; /* Radio de borde similar al de Chrome */
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Checkmark personalizado (similar al de Chrome) */
#filter-products input[type="checkbox"]:checked {
    background-color: #4d90fe; /* Azul de Chrome al seleccionar */
    border-color: #4d90fe;
}

#filter-products input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Efectos de hover y focus (como Chrome) */
/* #filter-products input[type="checkbox"]:hover {
    border-color: #4d90fe;
} */

#filter-products input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3); /* Sombra azul al enfocar */
}

.custom-product-gallery-slider {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-column: span 3;
}

@media(max-width: 1024px) {
	.custom-product-gallery-slider {
		display: flex;
	}
	
	.custom-product-gallery-slider > img {
		width: 300px;
		height: 300px;
	}	
}

@media screen and (max-width: 768px) {
    #products-shop-art-stone > a {
        /*pointer-events: none;*/
        display: block !important;
    }
    
    .custom-product-gallery-slider {
        gap: 0px;
        position: relative;
        height: 350px;
        justify-content: center;
        gap: 30px;
    }
    
    .custom-product-gallery-slider button {
        height: 30px;
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        border-radius: 5px;
        background: white;
        z-index: 10;
        border: 2px solid #D2A753;
        color: #D2A753;
        align-self: end;
        cursor: pointer;
        pointer-events: all;
    }
    
    .custom-product-gallery-slider button:nth-child(2) {
        justify-self: end;
    }
    
    .custom-product-gallery-slider > img {
        position: absolute;
        height: 100%;
    }
    
    .custom-product-gallery-slider > img.now-image {
        z-index: 6;
    }
    
    .custom-product-gallery-slider > img:nth-child(1) {
        z-index: 5;
    }
    
    .custom-product-gallery-slider > img:nth-child(2) {
        z-index: 4;
    }
    
    .custom-product-gallery-slider > img:nth-child(3) {
        z-index: 3;
    }
    
    #products-shop-art-stone ul li > h2 {
        grid-column: span 3;
    }
    
    #products-shop-art-stone :is(
        h2,
        .woocommerce-product-details__short-description, 
        .woocommerce-product-details__short-description>p,
        .price
    ) {
        grid-column: 2 / 3;
        text-align: center;
    }
}

/**
 * Menu 
*/

@media screen and (min-width: 1024px) {
	
	div nav .elementskit-navbar-nav-default > ul > li.menu-item.nav-item > ul {
		border-radius: 20px !important;
	    background-color: white;
	    text-align: center !important;
		min-width: 160px !important;
	    padding: 10px !important;
	}

	div nav .elementskit-navbar-nav-default > ul > li.menu-item.nav-item > ul > li {
		min-height: 40px;
		height: auto;
	}	
}

div[data-elementor-type="header0"] {
	box-shadow: 10px 10px 30px -20px black;
}

div[data-elementor-type="header"].fixed {
    position: fixed;
    top: 0;
    left: 0;
    
    z-index: 400;
    width: 100%;
	 background-image:initial;
}

div[data-elementor-type="header"].fixed #main-menu0{
   	 background-image:url("fondoheader0.png") !important;
}
.home div[data-elementor-type="header"] #main-menu0{

  background-image: none;


}
.home div[data-elementor-type="header"] #main-menu0 .logoweb{
display:none;
}
.home div[data-elementor-type="header"].fixed #main-menu0 .logoweb{
display:block;
}
#all-categories {
	cursor: pointer;
}

#home-colection {
	scroll-margin-top: 60px;
}

#all-categories > div > div p {
	margin: 0px !important;
}

.page-numbers,
.page-numbers > li {
	border: none !important;
}

.page-numbers > li > :is(span, a:hover) {
	background: none !important;
	color: #CD9220 !important;
}

.page-numbers > li > a {
	color: #D7C9AF;
}

.woocommerce nav.woocommerce-pagination {
	text-align: end;
}

@media screen and (max-width: 768px) {
	.woocommerce nav.woocommerce-pagination {
		text-align: center;
	}
}

/**
 * 
 * Modificando el filtro
 * 
 * */

#filter_80_2 {
	height: 0px;
	visibility: hidden;
}

/*
 * 
 * Modificando el menú
 * 
 * */

#menu-logo {
	/*margin: 0px 18%;*/
	position: relative;
	display: none;
    margin: 0px -3%;
}

#menu-logo.view {
    display: flex;
    margin: 0%;
}

#menu-logo > img {
	width: 100px;
	height: 100px;
}

.far-left-option.active {
    margin-right: 0px !important;
}

.far-right-option.active {
    margin-left: 0px !important;
}


.categories-menu {
	color: #CD9220;
}

.categories-menu:hover {
	color: #CD9220;
}