.theme-food_delivery .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.theme-food_delivery .product-card {
    grid-template-columns: 1fr;
}

.theme-food_delivery .product-media {
    aspect-ratio: 1.22;
    min-height: 0;
}

.theme-food_delivery .product-body {
    min-height: 190px;
}

@media (min-width: 901px) {
    .theme-food_delivery .hero,
    .theme-food_delivery .banner-strip {
        display: none;
    }

    .theme-food_delivery .app-home,
    .theme-food_delivery .app-showcase {
        display: block;
    }

    .theme-food_delivery .toolbar {
        margin-top: 0;
        z-index: 10;
    }

    .theme-food_delivery .toolbar-inner {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 12px 0 16px;
    }

    .theme-food_delivery .searchbox {
        height: 64px;
        border-radius: 999px;
    }

    .theme-food_delivery .categories {
        display: none;
    }

    .theme-food_delivery .section-head {
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .theme-food_delivery .hero,
    .theme-food_delivery .banner-strip {
        display: none;
    }

    .theme-food_delivery .app-home,
    .theme-food_delivery .app-showcase,
    .theme-food_delivery .app-bottom-nav {
        display: block;
    }

    .theme-food_delivery .toolbar {
        margin-top: 0;
    }

    .theme-food_delivery .toolbar-inner {
        padding-top: 8px;
    }

    .theme-food_delivery .categories,
    .theme-food_delivery .mobile-social-links {
        display: none;
    }

    .theme-food_delivery .searchbox {
        height: 58px;
        border-radius: 999px;
    }

    .theme-food_delivery .main-grid {
        padding-bottom: 108px;
    }

    .theme-food_delivery .restaurant-footer {
        display: none;
    }

    .theme-food_delivery .cart-bar {
        display: none !important;
    }

    .theme-food_delivery .cart-bar .cart-bar-total {
        background: transparent;
        color: var(--button-text);
        border-left: 1px solid color-mix(in srgb, var(--button-text) 22%, transparent);
        border-radius: 0;
        min-width: 116px;
    }

    .theme-food_delivery .cart-bar-detail {
        color: color-mix(in srgb, var(--button-text) 72%, transparent);
    }
}

@media (max-width: 560px) {
    .theme-food_delivery .app-shell {
        width: min(100% - 32px, 1180px);
    }

    .theme-food_delivery .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .theme-food_delivery .product-card {
        grid-template-columns: 1fr;
    }

    .theme-food_delivery .product-media {
        aspect-ratio: 1.08;
        min-height: 0;
    }

    .theme-food_delivery .product-body {
        min-height: 188px;
        padding: 11px;
    }

    .theme-food_delivery .product-body h3 {
        font-size: 14px;
    }

    .theme-food_delivery .price {
        font-size: 16px;
    }
}
