@media (max-width: 1199.98px) {
    .food-navbar {
        min-height: 78px;
    }

    .navbar-collapse {
        margin-top: 16px;
        padding: 18px;
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow-soft);
        max-width: 100%;
    }

    .mega-menu {
        width: 100%;
        left: auto;
        margin-top: 4px;
        padding: 18px;
        box-shadow: none;
        transform: none;
    }

    .food-mega .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        max-width: 100%;
    }

    .nav-actions {
        flex-wrap: wrap;
        padding-top: 12px;
        max-width: 100%;
    }

    .hero-section,
    .hero-slide {
        min-height: auto;
    }

    .hero-slide {
        padding: 80px 0 90px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 9vw, 5.4rem);
    }

    .poco-hero {
        padding: 70px 0 110px;
    }

    .offer-card {
        grid-template-columns: minmax(0, 1fr) 170px;
        gap: 18px;
    }

    .fx-hero {
        min-height: auto;
        padding: 80px 0;
        overflow: hidden;
    }

    .fx-hero__content h1 {
        font-size: clamp(3.2rem, 10vw, 5.5rem);
        word-break: break-word;
    }

    .fx-hero__visual {
        min-height: 420px;
        overflow: hidden;
    }

    .fx-hero__visual img {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        transform: none;
    }

    .fx-pickup__box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fx-pickup__text h2,
    .fx-pickup__text p,
    .fx-pickup__text--right h2,
    .fx-pickup__text--right p {
        margin-right: auto;
        margin-left: auto;
    }

    .fx-pickup__text--right {
        text-align: center;
    }

    .fx-pickup__rider {
        min-height: 180px;
        font-size: clamp(3.5rem, 18vw, 6rem);
    }

    .fx-promo-box {
        min-height: 240px;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 82px 0;
    }

    .section-padding-sm {
        padding: 62px 0;
    }

    .hero-copy {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 45px;
    }

    .fx-hero__visual {
        min-height: 360px;
    }

    .fx-about-food,
    .fx-products,
    .fx-news {
        padding: 70px 0;
    }

    .fx-newsletter__box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fx-newsletter__box input,
    .fx-newsletter__box .btn {
        width: 100%;
    }

    .poco-hero__image {
        min-height: 460px;
    }

    .poco-category-strip {
        margin-top: -46px;
    }

    .search-card {
        margin-top: -35px;
    }

    .deal-strip,
    .newsletter-card,
    .poco-store-banner,
    .poco-discount-band {
        padding: 42px;
    }

    .poco-store-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-hero-img img {
        height: 420px;
    }

    .footer-bottom,
    .footer-bottom .text-md-end {
        text-align: center !important;
    }

    .footer-bottom a {
        margin: 0 8px;
    }

    .top-bar__info,
    .top-bar__actions {
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        width: 118px;
    }

    .footer-brand img {
        width: 138px;
    }

    .section-title {
        font-size: clamp(1.9rem, 9vw, 3rem);
    }

    .section-lead {
        margin-bottom: 32px;
    }

    .hero-slide {
        padding: 60px 0 76px;
        text-align: center;
    }

    .poco-hero {
        padding: 58px 0 96px;
        text-align: center;
    }

    .fx-hero {
        text-align: center;
        padding: 56px 0 64px;
    }

    .fx-hero__actions {
        justify-content: center;
        gap: 14px;
    }

    .fx-hero__content h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .fx-hero__content h5 {
        font-size: 1.2rem;
    }

    .fx-hero__visual {
        min-height: 280px;
        margin-top: 18px;
    }

    .fx-hero__visual img {
        max-width: 280px;
        height: auto;
    }

    .fx-floating-leaf {
        display: none;
    }

    .fx-about-food__image img {
        width: 100%;
        height: 280px;
    }

    .fx-about-food__image span {
        width: 84px;
        height: 84px;
        font-size: 1.05rem;
        right: 4%;
    }

    .fx-about-food__content h2,
    .fx-pickup h2 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .fx-section-head {
        gap: 12px;
        padding-right: 8px;
    }

    .fx-section-head a {
        margin-right: 8px;
        padding-right: 4px;
        font-size: 0.92rem;
        white-space: nowrap;
    }

    .fx-pizza-banner__box {
        min-height: 260px;
        padding: 28px 20px;
    }

    .fx-pizza-banner__box h2 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .fx-promo-box {
        min-height: 220px;
        padding: 26px;
    }

    .fx-promo-box h2 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .poco-hero .hero-copy {
        margin-inline: auto;
    }

    .hero-badge {
        margin-inline: auto;
    }

    .hero-price {
        width: 96px;
        height: 96px;
        border-width: 6px;
        font-size: 1.45rem;
    }

    .search-card {
        padding: 20px;
        margin-top: -24px;
    }

    .food-card__image img,
    .restaurant-card img,
    .blog-card img {
        height: 210px;
    }

    .offer-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px;
    }

    .offer-card__media {
        width: min(210px, 82%);
        justify-self: end;
    }

    .offer-card img {
        width: 100%;
        height: 145px;
    }

    .deal-strip,
    .newsletter-card,
    .poco-store-banner,
    .poco-discount-band {
        padding: 32px 24px;
        border-radius: 28px;
        max-width: 100%;
    }

    .poco-discount-band {
        min-height: 300px;
    }

    .page-hero {
        padding: 78px 0;
        text-align: center;
    }

    .breadcrumb {
        justify-content: center;
    }

    .product-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .track-step {
        align-items: flex-start;
        flex-direction: column;
    }

    .back-to-top {
        right: 12px;
    }

    .filter-group {
        gap: 8px;
    }

    .footer-subscribe {
        flex-wrap: wrap;
    }

    .footer-subscribe input,
    .footer-subscribe button {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 575.98px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions .btn,
    .fx-hero__actions .btn,
    .fx-about-food__content .btn,
    .fx-pickup .btn,
    .fx-news-card .btn {
        width: auto;
    }

    .section-padding {
        padding: 68px 0;
    }

    .hero-title {
        font-size: clamp(2.4rem, 15vw, 4.2rem);
    }

    .hero-image img {
        border-width: 10px;
    }

    .category-card,
    .food-card__body,
    .testimonial-card,
    .info-card,
    .checkout-card,
    .auth-card,
    .timeline-card {
        padding: 22px;
    }

    .food-card__image {
        margin: 10px;
    }

    .footer-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-to-top {
        right: 12px;
        width: 46px;
        height: 46px;
    }

    .fx-product-card {
        padding: 14px;
    }

    .fx-review-card__head {
        flex-wrap: wrap;
    }

    .fx-review-card__head span {
        margin-left: 0;
        width: 100%;
    }

    .not-found h1 {
        font-size: clamp(4.5rem, 22vw, 8rem);
    }
}
