/* Contenedor Principal del Carrusel */
.mbd-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    background: #E6E6E6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 15px;
    box-sizing: border-box;
}

.mbd-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.mbd-carousel-title {
    color: #ff9800;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.mbd-carousel-controls {
    display: flex;
    gap: 8px;
}

.mbd-btn-nav {
    background: #333;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.mbd-btn-nav:hover {
    background: #ff9800;
    color: #000;
}

/* Track / Riel donde se mueven las tarjetas */
.mbd-carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 5px;
}

.mbd-carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Tarjeta de Anuncio Destacado */
.mbd-card {
    min-width: 220px;
    max-width: 220px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid #3d3d3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.mbd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(255, 152, 0, 0.25);
}

.mbd-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff9800;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.mbd-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    background: #111;
}

.mbd-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-card-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mbd-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    color: #ffffff;
}

.mbd-card-price {
    font-size: 1.05rem;
    font-weight: bold;
    color: #2e7d32; /* Verde destacado */
    margin: 2px 0;
}

.mbd-card-info {
    font-size: 0.78rem;
    color: #aaa;
}

.mbd-no-data {
    color: #888;
    font-size: 0.9rem;
    padding: 10px;
    text-align: center;
    width: 100%;
}
