/* ================================
   TIPOGRAFÍA GLOBAL PREMIUM
================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body,
.mfagba-card-title,
.mfagba-card-price,
.mfagba-filter-btn span {
    font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
}

/* ================================
   BANNER
================================ */
.mfagba-banner img {
    width: 100%;
    border-radius: 14px;
    margin: 20px 0;
}

/* ================================
   CONTENEDOR FILTROS + FLECHAS
================================ */
.mfagba-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* ================================
   FLECHAS (SOLO DESKTOP)
================================ */
.mfagba-arrow {
    display: none !important;
}

@media (min-width: 1024px) {
    .mfagba-arrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 2px solid #ff9500;
        color: #ff9500;
        font-size: 22px;
        font-weight: bold;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
        flex-shrink: 0;
    }

    .mfagba-arrow:hover {
        background: #ff9500;
        color: #fff;
    }
}

/* ================================
   SCROLL INTERNO
================================ */
.mfagba-menu-scroll {
    display: flex;
    overflow-x: auto;
    gap: 22px;
    padding: 10px 0 20px;
    scrollbar-width: none;
}

@media (min-width: 1024px) {
    .mfagba-menu-scroll {
        overflow-x: hidden;
    }
}

/* ================================
   BOTONES CATEGORÍA
================================ */
.mfagba-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    text-decoration: none;
}

.mfagba-filter-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e4e4e4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease-out;
}

.mfagba-filter-circle img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    transition: transform 0.25s ease-out;
}

.mfagba-filter-btn span {
    margin-top: 8px;
    font-size: 15.5px;
    font-weight: 700;
    color: #222;
    text-align: center;
    line-height: 1.2;
}

/* Hover / activo */
.mfagba-filter-btn:hover .mfagba-filter-circle {
    border-color: #ff9500;
    box-shadow: 0 6px 16px rgba(255,149,0,0.25);
    transform: translateY(-4px);
}

.mfagba-filter-btn:hover img {
    transform: scale(1.08);
}

.mfagba-filter-btn.active .mfagba-filter-circle {
    background: #ff9500;
    border-color: #ff9500;
}

.mfagba-filter-btn.active span {
    color: #ff9500;
}

/* ================================
   GRID PRODUCTOS
================================ */
.mfagba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

@media(max-width: 900px) {
    .mfagba-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   TARJETAS
================================ */
.mfagba-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dedede;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.mfagba-card:hover {
    transform: translateY(-4px);
}

.mfagba-card-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.mfagba-card-body {
    padding: 12px;
    text-align: center;
}

.mfagba-card-title {
    font-size: 18px;
    font-weight: 700;
}

.mfagba-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff9500;
}

/* ================================
   PAGINACIÓN
================================ */
.mfagba-paginacion {
    text-align: center;
    margin-top: 25px;
}

.mfagba-pag-btn {
    background: #ff9500;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    margin: 0 10px;
    font-weight: 600;
}
