/* Menu Comidas Widget Styles */

/* Menu Grid Container */
.rnz-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 30px;
}

/* Dish Card */
.rnz-dish-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rnz-dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Image Container */
.rnz-dish-image-container {
    position: relative;
    overflow: hidden;
}

/* Dish Image */
.rnz-dish-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

.rnz-dish-card:hover .rnz-dish-image {
    transform: scale(1.05);
}

/* Dish Label Badge */
.rnz-dish-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e74c3c;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Dish Content */
.rnz-dish-content {
    padding: 20px;
}

/* Dish Title */
.rnz-dish-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* Dish Description */
.rnz-dish-description {
    font-size: 14px;
    color: #999999;
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dish Price */
.rnz-dish-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    margin: 0 0 15px 0;
}

/* Dish Button */
.rnz-dish-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.rnz-dish-button:hover {
    background-color: #c0392b;
    transform: translateX(3px);
    color: #ffffff;
    text-decoration: none;
}

.rnz-dish-button i,
.rnz-dish-button svg {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.rnz-dish-button:hover i,
.rnz-dish-button:hover svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rnz-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
        row-gap: 25px;
    }
}

@media (max-width: 768px) {
    .rnz-menu-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 20px;
    }

    .rnz-dish-image {
        height: 180px;
    }

    .rnz-dish-content {
        padding: 15px;
    }

    .rnz-dish-title {
        font-size: 18px;
    }

    .rnz-dish-description {
        font-size: 13px;
    }

    .rnz-dish-price {
        font-size: 20px;
    }

    .rnz-dish-label {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .rnz-dish-image {
        height: 160px;
    }

    .rnz-dish-content {
        padding: 12px;
    }

    .rnz-dish-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .rnz-dish-description {
        font-size: 12px;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }

    .rnz-dish-price {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .rnz-dish-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* Animation for card entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rnz-dish-card {
    animation: fadeInUp 0.5s ease;
}

/* Stagger animation for multiple cards */
.rnz-dish-card:nth-child(1) {
    animation-delay: 0.1s;
}

.rnz-dish-card:nth-child(2) {
    animation-delay: 0.2s;
}

.rnz-dish-card:nth-child(3) {
    animation-delay: 0.3s;
}

.rnz-dish-card:nth-child(4) {
    animation-delay: 0.4s;
}

.rnz-dish-card:nth-child(5) {
    animation-delay: 0.5s;
}

.rnz-dish-card:nth-child(6) {
    animation-delay: 0.6s;
}