/* ============================================
   Bookory Products - Inline Buttons
   Oculto por defecto
   Visible cuando el widget tiene clase:
   bookory-show-inline-buttons
   (se agrega en Elementor > Avanzado > CSS Classes)
   ============================================ */

/* Ocultar por defecto */
.cebrita-inline-buttons {
    display: none;
}

/* Mostrar con clase manual */
.bookory-show-inline-buttons .cebrita-inline-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ============================================
   Layout de botones
   ============================================ */
.bookory-show-inline-buttons .cebrita-inline-add-to-cart {
    flex: 1;
    min-width: 0;
}

.bookory-show-inline-buttons .cebrita-inline-add-to-cart .button {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 0;
    background-color: var(--e-global-color-accent, #333);
    border: 2px solid var(--e-global-color-accent, #333);
    color: #fff;
}

.bookory-show-inline-buttons .cebrita-inline-add-to-cart .button:hover {
    background-color: transparent;
    color: var(--e-global-color-accent, #333);
}

/* ============================================
   Boton Wishlist - solo icono, sin texto
   ============================================ */
.bookory-show-inline-buttons .shop-action.vertical {
    flex: 0 0 auto;
    position: relative;
}

.bookory-show-inline-buttons .shop-action.vertical .woosw-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    font-size: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0;
    background-color: #ffffff;
    color: var(--accent);
    border-radius: 50%;
}

.bookory-show-inline-buttons .shop-action.vertical .woosw-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* Icono heart via pseudo-element */
.bookory-show-inline-buttons .shop-action.vertical .woosw-btn:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
    font-size: 16px;
    width: auto;
    height: auto;
    margin: 0;
}

.bookory-show-inline-buttons .shop-action.vertical .woosw-btn:hover:before {
    color: currentColor;
}

.bookory-show-inline-buttons .count-review {
    display: none;
}

/* ============================================
   Categoria del producto - antes del titulo
   ============================================ */
.product-caption {
    display: flex;
    flex-direction: column;
}

.cebrita-product-category {
    order: -1;
    margin-bottom: 8px;
}

.cebrita-product-category .cebrita-category-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--e-global-color-accent, #888);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cebrita-product-category .cebrita-category-link:hover {
    color: var(--primary, #333);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
    .bookory-show-inline-buttons .cebrita-inline-buttons {
        flex-direction: column;
    }

    .bookory-show-inline-buttons .shop-action.vertical {
        flex: 1 1 100%;
    }

    .bookory-show-inline-buttons .shop-action.vertical .woosw-btn {
        width: 100%;
        height: 38px;
    }
}
