﻿/* ===============================
   MENUX - Estilos independientes
   No genera conflicto con otras CSS
================================== */

.menuX-hero {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menuX-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.menuX-banner-content {
    position: relative;
    color: white;
    z-index: 2;
    
}

.menuX-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.7);
    animation: glowText 2s ease-in-out infinite alternate, fadeInDown 1.5s ease forwards;
}

.menuX-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
    animation: fadeInUp 1.5s ease forwards;
}

 /*================= SEARCH ================= */
.menuX-search {
    border-radius: 50px;
    padding: 12px 20px;
    border: 2px solid #ddd;
    transition: all 0.3s;
}

    .menuX-search:focus {
        border-color: #c8a56e;
        box-shadow: 0 0 5px rgba(200,165,110,0.5);
    }

 /*================= CATEGORY ================= */
.menuX-category-title {
    font-weight: 700;
    color: #333;
    border-left: 5px solid #c8a56e;
    padding-left: 10px;
}

 /*================= CARD ================= */
.menuX-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}



    .menuX-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

 /*================= IMAGE ================= */
.menuX-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: #f6f6f6;
    overflow: hidden;
}

.menuX-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menuX-card:hover .menuX-img {
    transform: scale(1.05);
}

 /*================= HOVER OVERLAY ================= */
.menuX-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.menuX-card:hover .menuX-hover {
    opacity: 1;
}

.menuX-btn {
    background: #c8a56e;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.3s ease;
}

    .menuX-btn:hover {
        background: #a98856;
    }

 /*================= BADGES ================= */
.menuX-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c8a56e;
    color: white;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
}

    .menuX-badge.new {
        background: #28a745;
    }

    .menuX-badge.featured {
        background: #ff5733;
    }

    .menuX-badge.offer {
        background: #ffc107;
        color: #000;
    }

 /*================= CONTENT ================= */
.menuX-body {
    padding: 15px;
    flex: 1;
}

.menuX-name {
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.menuX-desc {
    font-size: 0.9rem;
    color: #666;
    min-height: 45px;
}

.menuX-price-row {
    margin-top: 10px;
}

.menuX-price-old {
    text-decoration: line-through;
    color: #888;
}

.menuX-price-new {
    color: #c0392b;
    font-weight: 700;
    margin-left: 8px;
}

.menuX-price {
    color: #000;
    font-weight: 700;
}

/* ================= ANIMATION ================= */
.menuX-card {
    opacity: 0;
    transform: translateY(20px);
}

    .menuX-card.menuX-visible {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.6s ease;
    }










/* ===== Botón de compartir en Facebook ===== */
.btn-share-fb {
    background-color: rgba(24, 119, 242, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
}




    .btn-share-fb:hover {
        background-color: #1877f2;
        transform: scale(1);
    }

/* Mostrar al hacer hover sobre la imagen */
.product-image-wrapper:hover .btn-share-fb {
    opacity: 1;
    transform: scale(1);
}


/* ===== BOTÓN FACEBOOK DETALLE ===== */
.btn-facebook {
    background-color: #1877f2;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-facebook:hover {
        background-color: #145dc1;
        transform: translateY(-2px);
    }






.product-quantity.stepper {
    width: 130px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

    .product-quantity.stepper input {
        width: 50px;
        border: none;
        outline: none;
        font-size: 1rem;
    }

    .product-quantity.stepper .stepper-btn {
        flex: 1;
        border: none;
        background-color: #f5f5f5;
        font-weight: bold;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .product-quantity.stepper .stepper-btn:hover {
            background-color: #e0e0e0;
        }
