/* Estilos para las tarjetas de restaurantes */

.restaurant-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.restaurant-card {
    display: flex;
    align-items: flex-start;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    cursor: pointer;
    position: relative;
}

.restaurant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-logo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.restaurant-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70px;
}

.restaurant-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.restaurant-address {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.restaurant-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.restaurant-detail {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #666;
}

.restaurant-detail-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.25rem;
}

/* Estilos para badges de promoción */
.promo-badge-container {
    position: relative;
    width: 70px;
    height: 70px;
    margin-right: 1rem;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promo-badge-container .restaurant-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: 0;
    box-shadow: none;
}

.promo-badge-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 8px 0 8px 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Estilos para Zuck.js stories */
.stories {
    width: 70px;
    height: 70px;
    margin-right: 1rem;
}

.stories.carousel {
    overflow: visible;
}

.stories.carousel .story > a > .info {
    display: none;
}

.stories.snapgram .story > a > .img {
    border-radius: 8px;
}

.stories.carousel .story > a > .img {
    width: 70px;
    margin: 0;
    height: 70px;
}

.stories.snapgram .story > a > .img > * {
    border-radius: 8px;
}

/* Mensaje cuando no hay restaurantes */
.no-restaurants-message {
    text-align: center;
    padding: 1.5rem;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}

.error-message {
    text-align: center;
    padding: 1.5rem;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}

/* Responsive ajustes */
@media (max-width: 640px) {
    .restaurant-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .restaurant-logo {
        margin-right: 1rem;
        margin-bottom: 0;
        width: 70px;
        height: 70px;
    }
}


