/* 
 * Guruvayoor Services - Restaurants and Food CSS
 * NEW separate CSS file for restaurants and food shortcodes
 */


/* Common wrapper styles */

.wide_gv_food_wrapper {
    font-family: inherit;
    margin: 30px 0;
    width: 100%;
}


/* ============================================
   FOOD GRID STYLES
   ============================================ */

.wide_gv_food_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
    justify-items: center;
}


/* Food card container */

.wide_gv_food.food-item-card {
    width: 100%;
    max-width: 320px;
}


/* ============================================
   CART NOTIFICATION (for food)
   ============================================ */

.wide_gv_cart_notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--wide-gv-success);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 320px;
    border-left: 5px solid var(--wide-gv-primary-bold);
}

.wide_gv_cart_notification.show {
    transform: translateY(0);
    opacity: 1;
}

.wide_gv_cart_notification.hide {
    transform: translateY(100px);
    opacity: 0;
}

.wide_gv_cart_icon {
    font-size: 22px;
    animation: cartBounce 0.5s ease;
}

@keyframes cartBounce {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.wide_gv_cart_message {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}


/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .wide_gv_food_grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .wide_gv_food_grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    .wide_gv_cart_notification {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wide_gv_food_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .wide_gv_cart_notification {
        padding: 12px 15px;
        font-size: 14px;
    }
}


/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .book-now-btn,
    .add-to-cart-btn,
    .remove-from-cart-btn,
    .wide_gv_cart_notification {
        display: none !important;
    }
    .wide_gv_food_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}