/* FRL Botones WooCommerce */

.astra-shop-thumbnail-wrap {
    position: relative;
    overflow: hidden;
}

.frl-botones-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    display: flex;
    gap: 30px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
    z-index: 20;
    pointer-events: none;
}

.astra-shop-thumbnail-wrap:hover .frl-botones-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.frl-botones-overlay a {
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 12px;
    text-decoration: none;
    color: #fff !important;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.22);
    padding: 0 14px;
    white-space: nowrap;
    transition: background .30s ease, color .30s ease;
}

.frl-botones-overlay a:visited,
.frl-botones-overlay a:hover,
.frl-botones-overlay a:focus,
.frl-botones-overlay a:active {
    color: #fff !important;
    text-decoration: none;
}

.frl-btn-comprar {
    background: rgba(233,30,99,.30) !important;
}

.frl-btn-whatsapp {
    background: rgba(37,211,102,.30) !important;
}

.frl-btn-comprar:hover,
.frl-btn-comprar:focus {
    background: #e91e63 !important;
    color: #fff !important;
}

.frl-btn-whatsapp:hover,
.frl-btn-whatsapp:focus {
    background: #25D366 !important;
    color: #fff !important;
}

.astra-shop-thumbnail-wrap img {
    transition: filter .4s ease, transform .4s ease;
}

.astra-shop-thumbnail-wrap:hover img {
    filter: brightness(.65);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .frl-botones-overlay {
        left: 2px;
        right: 2px;
        bottom: 6px;
        gap: 6px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .frl-botones-overlay a {
        height: 28px;
        font-size: 11px;
        border-radius: 10px;
        padding: 0 8px;
    }

    .astra-shop-thumbnail-wrap:hover .frl-botones-overlay {
        transform: none;
    }
}
