.elementor-291 .elementor-element.elementor-element-6ee8b153{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;--padding-top:1em;--padding-bottom:1em;--padding-left:1em;--padding-right:1em;}.elementor-291 .elementor-element.elementor-element-65f32b03{width:100%;max-width:100%;margin:20px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;text-align:center;}.elementor-291 .elementor-element.elementor-element-65f32b03 .elementor-heading-title{font-size:38px;font-weight:700;color:#000000;}.elementor-291 .elementor-element.elementor-element-a89c37b{width:100%;max-width:100%;text-align:center;font-family:"Montserrat", Sans-serif;font-size:18px;font-weight:400;line-height:1.8em;color:#000000;}.elementor-291 .elementor-element.elementor-element-6e6b34cd{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;}.elementor-291 .elementor-element.elementor-element-77e7ee13{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-291 .elementor-element.elementor-element-24b256d7 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-291 .elementor-element.elementor-element-dbce3f8{--display:flex;}.elementor-291 .elementor-element.elementor-element-451784d2{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products ul.products li.product{text-align:center;--button-align-display:flex;--button-align-direction:column;--button-align-justify:space-between;}.elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products  ul.products{grid-column-gap:30px;grid-row-gap:40px;}.elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-size:16px;text-transform:uppercase;}.elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(min-width:768px){.elementor-291 .elementor-element.elementor-element-77e7ee13{--width:30%;}}@media(max-width:1024px){.elementor-291 .elementor-element.elementor-element-65f32b03{margin:0px 30px calc(var(--kit-widget-spacing, 0px) + 0px) 30px;text-align:center;}.elementor-291 .elementor-element.elementor-element-a89c37b{margin:0px 30px calc(var(--kit-widget-spacing, 0px) + 0px) 30px;text-align:center;}.elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-291 .elementor-element.elementor-element-6ee8b153{--padding-top:1em;--padding-bottom:0em;--padding-left:1em;--padding-right:1em;}.elementor-291 .elementor-element.elementor-element-65f32b03{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:center;}.elementor-291 .elementor-element.elementor-element-65f32b03 .elementor-heading-title{font-size:22px;}.elementor-291 .elementor-element.elementor-element-a89c37b{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;font-size:12px;}.elementor-291 .elementor-element.elementor-element-742f7a03{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-291 .elementor-element.elementor-element-742f7a03.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for wp-widget-woocommerce_product_categories, class: .elementor-element-24b256d7 *//* ==============================================
   TRANSCER'FLOWERS
   CATEGORÍAS DE PRODUCTOS — VERSIÓN ELEGANTE
============================================== */

.quifo-categorias {
    --tf-black: #171717;
    --tf-text: #333333;
    --tf-muted: #777777;
    --tf-line: #e8e8e8;
    --tf-soft: #f7f7f7;

    background: #ffffff !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 6px !important;
    padding: 20px !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif;
}

/* Título del widget */
.quifo-categorias .widget-title,
.quifo-categorias .widget_product_categories > h5,
.quifo-categorias h2,
.quifo-categorias h3 {
    display: block !important;
    background: transparent !important;
    color: #171717 !important;
    border: 0 !important;
    border-bottom: 1px solid #dedede !important;
    border-radius: 0 !important;
    padding: 0 0 15px !important;
    margin: 0 0 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: left !important;
}

/* Reiniciar listas */
.quifo-categorias ul.product-categories,
.quifo-categorias ul.product-categories li,
.quifo-categorias ul.children {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
}

.quifo-categorias ul.product-categories {
    padding: 0 !important;
}

.quifo-categorias ul.product-categories li {
    position: relative;
    padding-left: 0 !important;
}

.quifo-categorias ul.product-categories li::before,
.quifo-categorias ul.product-categories li::marker,
.quifo-categorias ul.product-categories a::before {
    content: none !important;
    display: none !important;
}

/* Categorías principales */
.quifo-categorias ul.product-categories > li {
    border-bottom: 1px solid #ededed;
}

.quifo-categorias ul.product-categories > li:last-child {
    border-bottom: 0;
}

.quifo-categorias ul.product-categories > li > a {
    display: block !important;
    position: relative;
    padding: 13px 32px 13px 9px !important;
    color: #333333 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: background .2s ease, color .2s ease;
}

/* Flecha de navegación */
.quifo-categorias ul.product-categories > li > a::after {
    content: "›";
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #777777;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

/* Hover elegante */
.quifo-categorias ul.product-categories > li > a:hover {
    background: #f7f7f7 !important;
    color: #000000 !important;
}

/* Subcategorías */
.quifo-categorias ul.children {
    padding: 2px 0 11px 14px !important;
}

.quifo-categorias ul.children li a {
    display: block !important;
    padding: 9px 12px !important;
    color: #666666 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    border-left: 2px solid transparent;
    transition: color .2s ease,
                background .2s ease,
                border-color .2s ease;
}

.quifo-categorias ul.children li a:hover {
    color: #171717 !important;
    background: #f7f7f7 !important;
    border-left-color: #171717;
}

/* Categoría seleccionada */
.quifo-categorias li.current-cat > a {
    background: #171717 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}

.quifo-categorias li.current-cat > a::after {
    color: #ffffff !important;
}

.quifo-categorias li.current-cat > a:hover {
    background: #171717 !important;
    color: #ffffff !important;
}

/* Categoría superior de la seleccionada */
.quifo-categorias li.current-cat-ancestor > a {
    color: #171717 !important;
    font-weight: 700 !important;
}

/* Ocultar Sin categorizar */
.quifo-categorias li.cat-item-1 {
    display: none !important;
}

/* Contadores de productos */
.quifo-categorias .count {
    color: #999999;
    font-size: 11px;
    font-weight: 400;
}

/* Botón móvil oculto en escritorio */
.quifo-categorias .quifo-toggle {
    display: none !important;
}

/* ==============================================
   TABLET Y MÓVIL
============================================== */

@media (max-width: 767px) {

    .quifo-tienda-mobile {
        display: flex !important;
        flex-direction: column !important;
    }

    .quifo-sidebar {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    .quifo-productos {
        order: 2 !important;
        width: 100% !important;
    }

    .quifo-categorias {
        padding: 9px !important;
        border-radius: 5px !important;
    }

    /* Ocultar título de escritorio */
    .quifo-categorias .widget-title,
    .quifo-categorias .widget_product_categories > h5,
    .quifo-categorias h2,
    .quifo-categorias h3 {
        display: none !important;
    }

    /* Botón principal */
    .quifo-categorias .quifo-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        background: #171717 !important;
        color: #ffffff !important;
        border: 1px solid #171717 !important;
        border-radius: 4px !important;
        padding: 14px 15px !important;
        font-family: Arial, sans-serif;
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: .3px;
        text-align: left;
        cursor: pointer;
        box-shadow: none !important;
        transition: background .2s ease;
    }

    .quifo-categorias .quifo-toggle:hover {
        background: #303030 !important;
    }

    .quifo-categorias .quifo-toggle::after {
        content: "+";
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
    }

    .quifo-categorias.quifo-expanded
    .quifo-toggle::after {
        content: "−";
    }

    /* Lista cerrada */
    .quifo-categorias.quifo-ready
    ul.product-categories {
        display: none !important;
    }

    /* Lista abierta */
    .quifo-categorias.quifo-ready.quifo-expanded
    ul.product-categories {
        display: block !important;
        margin-top: 9px !important;
    }

    /* Subcategorías cerradas */
    .quifo-categorias.quifo-ready ul.children {
        display: none !important;
    }

    /* Subcategorías abiertas */
    .quifo-categorias.quifo-ready
    li.quifo-open > ul.children {
        display: block !important;
    }

    /* Reservar espacio para botón desplegable */
    .quifo-categorias li.quifo-has-children > a {
        padding-right: 47px !important;
    }

    /* Botón independiente para subcategorías */
    .quifo-categorias .quifo-subtoggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 4px;
        right: 2px;
        width: 37px;
        height: 37px;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 4px !important;
        background: transparent !important;
        color: #333333 !important;
        cursor: pointer;
        box-shadow: none !important;
    }

    .quifo-categorias .quifo-subtoggle::before {
        content: "+";
        font-size: 19px;
        font-weight: 400;
        line-height: 1;
    }

    .quifo-categorias li.quifo-open
    > .quifo-subtoggle::before {
        content: "−";
    }

    .quifo-categorias .quifo-subtoggle:hover {
        background: #f1f1f1 !important;
    }

    .quifo-categorias li.current-cat
    > .quifo-subtoggle {
        color: #171717 !important;
    }

    /* Evitar flecha duplicada */
    .quifo-categorias li.quifo-has-children
    > a::after {
        display: none !important;
    }

    .quifo-categorias ul.product-categories
    > li > a {
        font-size: 13px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

/* Escritorio: ocultar controles móviles */
@media (min-width: 768px) {
    .quifo-categorias .quifo-subtoggle {
        display: none !important;
    }
}


/* TRANSCER'FLOWERS - TÍTULO DE CATEGORÍAS */

.quifo-categorias .widget-title,
.quifo-categorias .widget_product_categories > h5,
.quifo-categorias h2,
.quifo-categorias h3 {
    background: #171717 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 15px 16px !important;
    margin: 0 0 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}/* End custom CSS */
/* Start custom CSS for wc-archive-products, class: .elementor-element-742f7a03 *//* ==============================================
   TRANSCER'FLOWERS
   ARCHIVE PRODUCTS + CATEGORÍAS
============================================== */

/* Mantener lógica original */
.quifo-grid-categorias {
    display: none;
}

body.quifo-mostrar-categorias
.quifo-grid-categorias {
    display: block;
}

body.quifo-mostrar-categorias
.quifo-archive-products {
    display: none !important;
}

body.quifo-mostrar-productos
.quifo-grid-categorias {
    display: none !important;
}

body.quifo-mostrar-productos
.quifo-archive-products {
    display: block !important;
}

/* ==============================================
   TARJETAS DE PRODUCTOS
============================================== */

.quifo-archive-products {
    --tf-black: #171717;
    --tf-line: #e8e8e8;
    --tf-muted: #777777;
    font-family: Arial, sans-serif;
}

/* Cuadrícula */
.quifo-archive-products
ul.products {
    display: grid !important;
    gap: 25px 18px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tarjeta */
.quifo-archive-products
ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 5px !important;
    overflow: hidden;
    text-align: center;
    box-shadow: none !important;
    transition: border-color .2s ease,
                transform .2s ease;
}

.quifo-archive-products
ul.products li.product:hover {
    border-color: #cccccc !important;
    transform: translateY(-2px);
}

/* Imagen */
.quifo-archive-products
ul.products li.product img {
    width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    margin: 0 0 15px !important;
    transition: transform .3s ease;
}

.quifo-archive-products
ul.products li.product:hover img {
    transform: scale(1.025);
}

/* Nombre */
.quifo-archive-products
.woocommerce-loop-product__title {
    color: #202020 !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    padding: 0 12px !important;
    margin: 0 0 8px !important;
    text-align: center !important;
}

/* Precio */
.quifo-archive-products
ul.products li.product .price {
    display: block !important;
    color: #171717 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 12px 14px !important;
}

.quifo-archive-products
ul.products li.product .price del {
    color: #999999 !important;
    font-weight: 400 !important;
}

.quifo-archive-products
ul.products li.product .price ins {
    color: #171717 !important;
    text-decoration: none !important;
}

/* Botones */
.quifo-archive-products
ul.products li.product .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    max-width: calc(100% - 24px);
    margin: 0 12px !important;
    padding: 11px 15px !important;

    background: #171717 !important;
    color: #ffffff !important;
    border: 1px solid #171717 !important;
    border-radius: 4px !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: .3px;
    text-decoration: none !important;
    text-transform: none;

    box-shadow: none !important;
    transition: background .2s ease,
                color .2s ease;
}

.quifo-archive-products
ul.products li.product .button:hover {
    background: #ffffff !important;
    color: #171717 !important;
}

/* Oferta */
.quifo-archive-products
.onsale {
    background: #171717 !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    min-width: auto !important;
    min-height: auto !important;
    padding: 7px 10px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

/* Paginación */
.quifo-archive-products
.woocommerce-pagination ul {
    border: 0 !important;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.quifo-archive-products
.woocommerce-pagination ul li {
    border: 0 !important;
}

.quifo-archive-products
.woocommerce-pagination a,
.quifo-archive-products
.woocommerce-pagination span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    color: #333333 !important;
    background: #ffffff !important;
}

.quifo-archive-products
.woocommerce-pagination .current {
    background: #171717 !important;
    color: #ffffff !important;
    border-color: #171717 !important;
}

/* ==============================================
   RESPONSIVE
============================================== */

@media (max-width: 767px) {

    .quifo-archive-products
    ul.products {
        gap: 14px 10px !important;
    }

    .quifo-archive-products
    ul.products li.product {
        padding-bottom: 12px !important;
    }

    .quifo-archive-products
    .woocommerce-loop-product__title {
        font-size: 12px !important;
        padding: 0 8px !important;
    }

    .quifo-archive-products
    ul.products li.product .price {
        font-size: 13px !important;
        margin-bottom: 11px !important;
    }

    .quifo-archive-products
    ul.products li.product .button {
        font-size: 10px !important;
        padding: 10px 8px !important;
        margin: 0 7px !important;
        max-width: calc(100% - 14px);
    }
}

/* ==============================================
   TRANSCER'FLOWERS
   BOTONES AÑADIR Y VER CARRITO
============================================== */

/* Contenedor del producto añadido */
.quifo-archive-products ul.products li.product:has(.added_to_cart) {
    text-align: center !important;
}

/* Botón principal después de añadir */
.quifo-archive-products ul.products li.product a.button.added {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;

    width: auto !important;
    min-height: 42px !important;
    margin: 0 5px 0 0 !important;
    padding: 10px 12px !important;
}

/* Enlace Ver carrito convertido en botón negro */
.quifo-archive-products ul.products li.product a.added_to_cart,
.quifo-archive-products ul.products li.product a.added_to_cart.wc-forward,
.quifo-archive-products .woocommerce a.added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;

    width: auto !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 12px !important;

    background-color: #171717 !important;
    color: #ffffff !important;
    border: 1px solid #171717 !important;
    border-radius: 4px !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;

    box-shadow: none !important;
    opacity: 1 !important;
}

/* Hover */
.quifo-archive-products ul.products li.product a.added_to_cart:hover,
.quifo-archive-products .woocommerce a.added_to_cart:hover {
    background-color: #ffffff !important;
    color: #171717 !important;
}

/* Móvil */
@media (max-width: 767px) {

    .quifo-archive-products ul.products li.product a.button.added {
        min-height: 36px !important;
        padding: 8px 7px !important;
        font-size: 9px !important;
        margin-right: 3px !important;
    }

    .quifo-archive-products ul.products li.product a.added_to_cart {
        min-height: 36px !important;
        padding: 8px 7px !important;
        font-size: 9px !important;
    }
}/* End custom CSS */