.jwm-cada-categoria{
    padding: 0 30px;
}

.jwm-cada-categoria--indv{
    max-width: 350px;
}

.jwm-cada-categoria--indv .imagen{
    margin: 0 0 10px;
}

.jwm-cada-categoria--indv .imagen img{
    aspect-ratio: 1 / 1;
    border: 2px solid #DB052C;
    border-radius: 100%;
    display: block;
    object-fit: cover;
}

.page-id-16236 .jwm-cada-categoria--indv .imagen img{
    border: 2px solid #151F70;
}

.jwm-cada-categoria--indv h3{
    font-size: 20px;
    line-height: 1.1em;
    padding: 0 20px;
    text-align: center;
}


/* Slider flechas */
.jwm-home-categorias{
    padding: 0 40px;
}

.jwm-home-categorias--slider {
    position: relative;
}

/* Flechas base */
.jwm-slider-principal{
    margin: 0 0 40px;
}

.jwm-slider-general .slick-prev,
.jwm-slider-general .slick-next {
    width: 40px;
    height: 40px;
    background: #0001;
    border-radius: 50%;
    z-index: 10;

    display: flex !important;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

body .btn_slide_prev,
body .btn_slide_next{
    width: 40px;
    height: 40px;
    background: #ccc;
    color: #444;
    border-radius: 50%;
    z-index: 10;

    display: flex !important;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.jwm-slider-general .slick-track{
    display: flex;
}

.jwm-slider-general.slick-initialized .slick-slide{
    height: auto;
}

/* Hover */
.jwm-slider-general .slick-prev:hover,
.jwm-slider-general .slick-next:hover {
    background: #333;
}

body .btn_slide_prev:hover,
body .btn_slide_next:hover{
    background: #444;
    color: #ccc;
}

/* Posición */
.jwm-slider-general .slick-prev {
    left: -40px;
    position: absolute;
    top: calc(50% - 30px);
}

body .btn_slide_prev{
    left: 20px;
    position: absolute;
    top: calc(50%);
}

.jwm-slider-general .slick-next {
    position: absolute;
    right: -40px;
    top: calc(50% - 30px);
}

body .btn_slide_next{
    position: absolute;
    right: 20px;
    top: calc(50%);
}

/* Quitar flechas por defecto */
.jwm-slider-general .slick-prev:before,
.jwm-slider-general .slick-next:before {
    content: none !important;
}

body .btn_slide_prev:before,
body .btn_slide_next:before{
    content: none !important;
}

/* Flechas personalizadas */
.jwm-slider-general .slick-prev::after,
.jwm-slider-general .slick-next::after {
    content: none !important;
}

body .btn_slide_prev:after,
body .btn_slide_next:after{
    content: none !important;
}

/* Productos */

.jwm-producto{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    max-width: 300px;
    position: relative;
}

.jwm-producto--int{
    padding: 18px;
}

li.jwm-producto--int{
    height: 100%;
    list-style: none;
}

.jwm-producto__wishlist{
    position: absolute;
    right: 0;
}

.jwm-producto__img{
    border: 1px solid #F3F5F5;
    display: block;
    margin: 0 0 14px;
}

.jwm-producto__title{
    font-size: 18px;
    line-height: 1.1em;
    text-align: left;
}

.jwm-producto__title a{
    color: #737373;
}

.jwm-producto__precio{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    padding: 0 0 6px;
}

.jwm-producto__precio del{
    order: 3;
}
.jwm-producto__precio del .amount{
    color: #000;
    font-size: 15px;
}

.jwm-producto__precio ins{
    order: 1;
}

.jwm-producto__precio ins .amount,
.jwm-producto__precio > .amount{
    color: #000;
    font-size: 24px;
}

.jwm-producto__descuento{
    order: 2;
}

.jwm-producto__descuento{
    background-color: #DB052C;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
}

.jwm-producto__cart a{
    background-color: #DB052C;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    width: 100%;
}

.page-id-16236 .jwm-producto__cart a{
    background-color: #151F70;
}

.jwm-producto__cart a span{
    align-items: center;
    display: flex;
    gap: 20px;
}

.jwm-producto__cart a.added_to_cart{
    background: none;
    color: #DB052C;
    display: block;
    text-align: center;
    width: 100%;
}

.page-id-16236 .jwm-producto__cart a.added_to_cart{
    color: #151F70;
}

.page-id-16236 .jwm-producto__cart a:hover{
    color: var(--btn-color-hover, var(--btn-color, #3E3E3E));
    border-color: var(--btn-brd-color-hover, var(--btn-brd-color, #e0e0e0));
    background-color: var(--btn-bgcolor-hover, var(--btn-bgcolor, #e0e0e0));
    box-shadow: var(--btn-box-shadow-hover, var(--btn-box-shadow, unset));
}

.titulo2 h4 {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* espacio entre texto y líneas */
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.titulo2 h4 strong{
    color: #DB052C;
}

.page-id-16236 .titulo2 h4 strong{
    color: #151F70;
}


.titulo2 h4::before,
.titulo2 h4::after {
    content: "";
    flex: 1; /* 👈 clave: se adapta automáticamente */
    height: 2px;
    background: #000;
    opacity: 0.3;
}

/* Testimonios */
.jwm-testimonios {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 30px;
    padding: 20px 0;
}

.jwm-testimonio {
    padding: 20px;
    width: 50%;
}

.jwm-testimonio__int{
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    font-size: 18px;
    line-height: 1.6em;
}

.jwm-testimonio__img{
    width: 130px;
}

.jwm-testimonio__contenido{
    flex: 1;
}

.jwm-testimonio__img img {
    width: 90px;
    height: 90px !important;
    border-radius: 100% !important;
    object-fit: cover;
}

.jwm-testimonio__nombre {
    margin: 10px 0 5px;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 0px;
}

.jwm-testimonio__ciudad {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 20px;
    text-transform: uppercase;
}

/* Tienda */
.post-type-archive-product .wd-page-title-el .wd-page-title,
.tax-product_cat .wd-page-title-el .wd-page-title__{
    background-color: #cb282e;
    padding: 30px 0 0;
}

.post-type-archive-product .wd-page-title-el .wd-page-title .title,
.tax-product_cat .wd-page-title-el .wd-page-title .title__{
    color: #fff;
}

.tax-product_cat .wd-page-title-el .wd-page-title{
    background-color: #cb282e;
}

/* categorías */
.jwm-filtro__bloque{
    margin: 0 0 30px;
}
.jwm-filtro-catalogo{
    padding: 10px;
}
.jwm-filtro__titulo {
    color: #DB052C;
    font-weight: bold;
    margin-bottom: 15px;
}

.jwm-filtro__titulo::after{
    background-color: #DB052C;
    content: '';
    display: block;
    width: 60px;
    height: 2px;
}

.jwm-cat-item {
    line-height: 1.5em;
    margin-bottom: 10px;
    padding: 4px 0;
}

.jwm-cat-header {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0%;
    line-height: 1.1em;
}

.jwm-cat-header>a{
    padding-right: 8px;
}

.jwm-subcats {
    display: none;
    padding: 10px 0 10px 15px;
}

.jwm-subcat {
    display: block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0%;
    line-height: 1.5em;
    margin: 5px 0;
    padding: 4px 0;
}

.jwm-redes{
    align-items: center;
    display: flex;
    gap: 4px;
}

.jwm-redes a {
    align-items: center;
    border: 1px solid #cd282c;
    color: #cd282c;
    display: flex;
    font-size: 18px;
    height: 34px;
    justify-content: center;
    margin-right: 10px;
    transition: 0.3s all;
    width: 34px;
}

.jwm-redes a:hover{
    background-color: #cd282c;
    border: 1px solid #eee;
    color: #fff;
}

.jwm-cat-item.active .jwm-cat-header {
    font-weight: bold;
}

/* Modificaciones de productos */
.jwm-badge-nuevo{
    background-color: #EDEDED;
    border-radius: 8px;
    color: #4D4D4D;
    padding: 8px 16px;
}

/* Btns de categoría */
.jwm-producto-categorias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.jwm-cat-btn {
    background: #FBD7D7;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.jwm-cat-btn:hover {
    background: #000;
    color: #fff;
}

.boton_addcart form{
    display: grid !important;
    grid-template-columns: 80px 1fr;
    grid-template-areas:
        "aa bb"
        "cc cc";
    gap: 20px; /* opcional */
}

.boton_addcart .quantity{
    grid-area: aa;
}

.boton_addcart .single_add_to_cart_button{
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 6px;
    color: #000;
    grid-area: bb;
    transition: 0.3s all;
}

.boton_addcart .single_add_to_cart_button:hover{
    background-color: #CD122E;
    border: 1px solid #CD122E;
    color: #fff;
}

.boton_addcart .wd-buy-now-btn{
    background-color: #CD122E;
    border: 1px solid #CD122E;
    border-radius: 6px;
    color: #fff;
    grid-area: cc;
    transition: 0.3s all;
}

.boton_addcart .wd-buy-now-btn:hover{
    background-color: transparent;
    border: 1px solid #CD122E;
    color: #CD122E;
}

#relacionados-p .wd-el-title{
    display: none !important;
}

.woocommerce-product-gallery .wd-carousel-item{
    border: 1px solid #ddd;
}

@media screen and (max-width: 768px){

    .jwm-cada-categoria--indv h3 {
        font-size: 18px;
        padding: 0 10px;
    }

    .jwm-testimonio{
        width: 100%;
    }

    .jwm-producto__cart a{
        font-size: 16px;
    }

}



@media (max-width: 576px) {

    .titulo2 h4::before,
    .titulo2 h4::after {
        display: none;
    }

    .jwm-testimonio__int {
        flex-direction: column;
        align-items: center;
        gap: 10px 0;
    }

    .jwm-testimonio__img img {
        display: block;
        margin: 0 auto;
    }

}