.cats-f1 .wd-wpb {
    margin-bottom: 0;
}

.cats-f1 .wd-woo-page-title .title {
    margin-bottom: 16px;
    font-size: 32px;
}

.wd-shop-desc {
	font-size: 14px;
    line-height: 20px;
    width: 100%;
    background: rgb(246 241 235);
    padding: 40px;
    border-radius: 16px;
}

h2 {
    font-size: 18px;
}

.wpb_text_column .categoria-navegacion {
    margin-block: 24px;
    border-block: 1px solid #e1dbd8;
    display: flex;
    align-items: center;
}

.categoria-navegacion :is(ul, li) {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.categoria-lista {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: auto;
    white-space: nowrap;
    min-height: 54px;
}

.categoria-lista a {
    display: inline-block;
    color: var(--wd-text-color);
    font-weight: 600;
}

.categoria-lista::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}

.categoria-lista::-webkit-scrollbar-track {
    background: transparent;
}

.categoria-lista::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.categoria-lista::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.categoria-link.active {
    background-color: #315549;
    padding-inline: 8px;
    line-height: 28px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
}

li.categoria-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

li.categoria-item:after {
    content: '';
    background-image: url(/wp-content/uploads/2024/11/Vector-14.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    height: 10px;
    width: 10px;
}

li.categoria-item:last-child:after {
    display: none;
}

.wpb_column.wd-side-hidden .vc_column-inner {
    padding-top: 30px;
}

li.categoria-item:hover a {
    text-decoration: underline;
}

li.categoria-item:hover a.active {
    text-decoration: none !important;
}

.cats-before-listing .wpb_wrapper {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    align-items: center;
    line-height: 1;
}

.cats-before-listing .wd-wpb {
    margin-bottom: 0;
}

.cats-f3 {
    margin-bottom: 24px;
}

.cats-before-listing .wd-off-canvas-btn {
    position: relative;
    align-items: center;
}

.cats-before-listing .wd-off-canvas-btn::after {
    content: '';
    height: 15px;
    width: 1px;
    background-color: #e1dbd8;
    position: relative;
    margin: auto 12px;
}

.cats-before-listing .woocommerce-result-count {
    font-weight: 600;
    font-size: 13px;
}

.cats-before-listing .woocommerce-ordering.wd-style-underline select {
    padding: 0;
    border: 0;
}

.cats-before-listing .woocommerce-ordering.wd-style-underline {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
}

.cats-before-listing .woocommerce-ordering.wd-style-underline:before {
    content: 'Ordenar por:';
    margin-right: 8px;
    opacity: .65;
}

.cats-before-listing .wd-action-custom-icon .wd-action-icon {
    margin-inline-end: 8px;
}

.wd-products {
    row-gap: 40px;
}

.catalogo-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #fcede4;
    border-radius: 20px;
    overflow: hidden;
}

.catalogo-header__contenido {
    padding: 32px 16px;
    width: 100%;
    z-index: 1;
	display: flex;
    align-items: center;
    flex-direction: column;
	justify-content: center;
}

.catalogo-header__imagen {
    height: 100%;
    object-fit: cover;
}

.catalogo-header__imagen.catalogo-header__imagen--derecha {
    object-position: left
    ;
}

.catalogo-header__imagen.catalogo-header__imagen--izquierda {
    object-position: right;
}

.catalogo-header__titulo {
    font-size: 32px;
	width: 100%;
}

.catalogo-header__titulo::before {
    content: '';
    background-image: url("/wp-content/uploads/2025/01/Vector-16.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 32px;
    height: 27px;
    display: inline-block;
    margin-inline-end: 16px;
    position: relative;
    top: 3px;
}

.catalogo-header__descripcion {
    font-size: 16px;
    text-wrap-style: balance;
}

.catalogo-header.without-media {
    grid-template-columns: auto;
    background: none;
    text-align: center;
    margin-top: -40px;
    border-radius: 0;
}

.catalogo-header.without-media .catalogo-header__contenido {
    width: 100%;
    padding-bottom: 20px;
}

.catalogo-header.without-media .catalogo-header__titulo {
    position: relative;
    width: fit-content;
    margin: auto;
}

.catalogo-header.without-media .catalogo-header__titulo::before {
    top: 9px;
    left: -45px;
    position: absolute;
}

.catalogo-header.without-media .catalogo-header__descripcion {
    width: 50%;
    margin: auto;
    margin-top: 16px;
}

.catalogo-header-archive .wpb_wrapper {
    width: fit-content;
    margin: auto;
}

@media (max-width: 1200px) {

  .catalogo-header {
  display: flex;
  }
  .catalogo-header .catalogo-header__imagen--izquierda {
  width: 100%;
    max-width: 320px;
    height: 189px;
    }
    .catalogo-header .catalogo-header__imagen--derecha {
width: 100%;
    max-width: 300px;
    height: 189px;
    }

    .catalogo-header.without-media .catalogo-header__titulo::before {
        top: 7px;
        left: auto;
        position: relative;
    }

    .catalogo-header.without-media .catalogo-header__titulo {
        margin: 0;
        font-size: 24px;
    }
    
    .catalogo-header__contenido .catalogo-header__titulo {
    font-size: 24px;
    margin-bottom: 10px !important;
    }

    .catalogo-header-archive .wpb_wrapper {
        margin: 0;
    }

    .catalogo-header.without-media .catalogo-header__contenido {
        padding: 0;
    }

    .catalogo-header.without-media {
        margin-top: 0;
        text-align: left;
    }

    .catalogo-header.without-media .catalogo-header__descripcion {
        width: 100%;
    }

    

    .catalogo-header {
        grid-template-columns: auto;
    }

    .catalogo-header__contenido {
    	padding: 20px;
        width: 100%;
        gap: 12px;
    }
    catalogo-header__titulo {
    font-size: 28px;
    margin-bottom: 10px;
    }

    .catalogo-header__descripcion {
        font-size: 15px;
    }

}

@media (max-width: 1024px) {
.catalogo-header .catalogo-header__imagen--derecha {
display: none;
}
.catalogo-header .catalogo-header__imagen--izquierda {
max-width:370px
}
.catalogo-header__descripcion {
text-wrap-style: initial;
}
.catalogo-header__contenido .catalogo-header__titulo {
        font-size: 20px;
        margin-bottom: 0px !important;
}
.catalogo-header__descripcion {
font-size: 14px;
}
}

@media (max-width: 768px) {
.catalogo-header {
flex-direction: column-reverse;
}
.catalogo-header .catalogo-header__imagen--izquierda {
        max-width: 100%;
        height: 100%;
        }

    .archive .main-page-wrapper {
        padding-top: 20px;
    }

    .cats-f1 .wd-woo-page-title .title {
        font-size: 24px;
    }

    .wd-shop-desc {
        font-size: 13px;
        line-height: 21px;
        padding: 20px;
    }

    .imagen-destacada-categoria {
        display: none;
    }

    .cats-before-listing .wpb_wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .cats-before-listing .wd-shop-result-count {
        grid-column: span 2 / span 2;
        text-align: center;
        background-color: rgb(182 100 60 / 9%);
        color: rgb(182 100 60);
        line-height: 28px;
        margin-bottom: 8px;
        border-radius: 4px;
    }

    .cats-before-listing .woocommerce-ordering.wd-style-underline {
        width: auto;
        height: auto;
        justify-content: flex-end;
    }

    .cats-before-listing .wd-shop-ordering {
        text-align: end;
    }

    .cats-before-listing .wd-off-canvas-btn::after {
        display: none;
    }

    .cats-before-listing .woocommerce-ordering.wd-style-underline:before {
        opacity: 1;
        font-weight: 600;
    }

    .archive .wd-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}