.blockPosition2.blockPosition div.titlerock
{
	display: none !important;
}

.cdp-categorias {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espaciado entre elementos */
    justify-content: space-between;
}

.cdp-categorias > div {
    flex: 1 1 calc(33.33% - 10px); /* Distribución en 3 columnas */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    /*background-color: #f8f8f8;*/
    border-radius: 8px;
    overflow: hidden;
}

/* Fila impar */
.cdp-categorias div:nth-child(odd) a {
    background-color: #ef917a;
}

/* Fila par */
.cdp-categorias div:nth-child(even) a {
    background-color: #fcebd9;
}

.cdp-categorias div a {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #333;
    align-items: center;
    justify-content: flex-start;
}

.cdp-categorias div a h2 {
    flex: 0.4; /* Ocupa el 40% del contenedor */
    display: flex;
    align-items: center;
    justify-content: left;
	flex-wrap: wrap;
	text-transform: uppercase;
  	font-weight: bold;
  	font-size: 24px;
  	text-align: left;
    margin: 0;
    padding: 10px;
    /*background-color: rgba(255, 255, 255, 0.7);*/ /* Fondo opcional para visibilidad */
    width: 100%;
	min-width: 165px;
}

.cdp-categorias div a img {
    flex: 0.6; /* Ocupa el 60% del contenedor */
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-bottom-right-radius: 5px;
  	border-top-right-radius: 5px;
	margin-bottom: 0 !important;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .cdp-categorias > div {
        flex: 1 1 calc(50% - 10px); /* 2 columnas en tablet */
    }
	.cdp-categorias div a {
    	display: block;
	}
}

@media (max-width: 576px) {
    .cdp-categorias > div {
        flex: 1 1 100%; /* 1 columna en móviles */
    }
	.cdp-categorias div a {
    	display: block;
	}
}

/* ajustes para página de grid de productos */
@media (min-width: 480px) and (max-width: 991px) {
	ul.lablistproducts li.ajax_block_product > .product-container
	{
		display: flex !important;
    	flex-direction: column !important;
    	justify-content: center;
    	align-items: center;
	}
	ul.lablistproducts li.ajax_block_product > .product-container .left-block ,
	ul.lablistproducts li.ajax_block_product > .product-container .left-block .product-image-container
	{
		width: 100% !important;
	}
}
/*
@media (max-width: 479px) {
	ul.lablistproducts li.ajax_block_product > .product-container
	{
		display: flex !important;
    	flex-direction: column !important;
    	justify-content: center;
    	align-items: center;
	}
	ul.lablistproducts li.ajax_block_product > .product-container .left-block ,
	ul.lablistproducts li.ajax_block_product > .product-container .left-block .product-image-container
	{
		width: 100% !important;
	}
	ul.product_list.grid > li
 	{
        width: 50% !important;
        float: left;
    }
	.lablistproducts .item-inner,
	.lablistproducts .item-inner.first-in-line,
	.lablistproducts .item-inner.first-item-of-mobile-line
	{
		clear: none !important;
	}
	.lablistproducts .item-inner.last-item-of-mobile-line
	{
		clear: both !important;
	}
}
*/
@media (max-width: 479px) {
	ul.product_list.row:before, ul.product_list.row:after 
	{
    	content: "" !important;
    	display: none !important;
	}
	ul.product_list li,
	ul.product_list li.first_item,
	ul.product_list li.last_item 
	{
  		width: calc(50% - 0.5rem) !important;
  		float: none !important;
  		clear: none !important;
	}
	ul.product_list 
	{
  		display: flex;
  		flex-wrap: wrap;
  		gap: 1rem;
	}

	ul.product_list .product-container
	{
	    flex-direction: column;
        justify-content: center;
        align-items: center;
    	display: flex;
    	flex-wrap: wrap;

	}
	ul.product_list li,
	ul.product_list li.item-inner
	{
        width: calc(50% - 0.5rem) !important; /* dos columnas con espacio */
	    flex-direction: column;
        justify-content: center;
        align-items: center;
    	display: flex;
    	flex-wrap: wrap;
		padding: 0 !important;
		

	}
	ul.product_list li .right-block
	{
		width: 100% !important;
	}
	ul.product_list li .left-block
	{
		width: 100% !important;
	}
}