/**
 * Oilstrich Custom Styles
 * - Botón flotante de WhatsApp
 * - Ocultar botones de compra (carrito deshabilitado)
 */

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
    text-decoration: none;
}

.whatsapp-float svg {
    fill: #FFF;
    width: 35px;
    height: 35px;
}

/* Tooltip para el botón de WhatsApp */
.whatsapp-float::before {
    content: "¡Contáctanos!";
    position: absolute;
    right: 70px;
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Responsive para el botón de WhatsApp */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* ============================================
   OCULTAR BOTONES DE COMPRA / CARRITO
   ============================================ */

/* Ocultar botones "Buy Now" con clase btn-secondary que llevan a pricing */
a.btn-secondary[href*="pricing"] {
    display: none !important;
}

/* Ocultar botones con clase específica de compra */
.user-register-btn,
.payment-btn {
    display: none !important;
}

/* Ocultar el cart-summery completo en pricing */
.cart-summery {
    display: none !important;
}

/* Ocultar precio y opciones de compra en la página de pricing */
.cart-footer-total-row {
    display: none !important;
}

/* Ocultar el resumen del carrito en el sidebar */
.subscription-summery {
    display: none !important;
}

/* Ocultar la sección de pricing/checkout toggle */
.pricing-switch {
    display: none !important;
}

/* Ocultar selectores de cantidad de workspace/usuarios */
.qty-spinner,
.user-qty,
.summery-footer {
    display: none !important;
}

/* Ocultar la columna del carrito en la página de pricing */
.module-section .col-lg-4.col-xl-3 {
    display: none !important;
}

/* Hacer que la columna de productos ocupe todo el ancho */
.module-section .col-lg-8.col-xl-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Ocultar precios en las tarjetas de producto */
.product-card .price,
.package-card-inner .price {
    display: none !important;
}

/* Mensaje alternativo para indicar que las compras están deshabilitadas */
.purchase-disabled-message {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.purchase-disabled-message h5 {
    color: #25d366;
    margin-bottom: 10px;
}

.purchase-disabled-message p {
    color: #6c757d;
    margin-bottom: 0;
}
