@media (max-width: 900px) {

    .header-content {
        padding: 0 20px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 40px 25px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .menu-section {
        padding: 60px 20px;
    }

    .section-heading {
        gap: 20px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .categories {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .categories::-webkit-scrollbar {
        display: none;
    }

    .category {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-category-heading {
        margin-top: 40px;
    }

    .cart-drawer {
        width: 400px;
        max-width: 90%;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .socials {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }


    /* ================= HEADER ================= */

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        min-height: 68px;
        padding: 0 14px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .logo strong {
        font-size: 17px;
    }

    .logo small {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .header-actions {
        gap: 7px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .cart-btn {
        height: 38px;
        padding: 0 10px;
        gap: 6px;
    }

    .cart-btn span {
        display: none;
    }

    .cart-btn b {
        min-width: 19px;
        height: 19px;
        font-size: 10px;
    }


    /* ================= HERO ================= */

    .hero {
        min-height: 470px;
    }

    .hero-content {
        padding: 35px 20px;
        text-align: center;
    }

    .hero-label {
        font-size: 12px;
        padding: 8px 13px;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.6;
        margin: 18px 0 12px;
    }

    .hero-content h1 span {
        display: block;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 2;
        max-width: 300px;
        margin: 0 auto 25px;
    }

    .hero-btn {
        padding: 12px 20px;
        font-size: 13px;
    }


    /* ================= MAIN ================= */

    .menu-section {
        padding: 45px 14px;
    }


    /* ================= SECTION TITLE ================= */

    .section-heading {
        display: block;
        text-align: center;
        margin-bottom: 25px;
    }

    .section-tag {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .section-heading h2 {
        font-size: 28px;
        margin-top: 7px;
    }

    .section-heading p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.9;
    }


    /* ================= SEARCH ================= */

    .search-box {
        width: 100%;
        height: 52px;
        margin-bottom: 20px;
    }

    .search-box input {
        font-size: 13px;
    }

    .search-box button {
        width: 38px;
    }


    /* ================= CATEGORIES ================= */

    .categories {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        padding: 3px 2px 12px;
        margin-bottom: 20px;
        scrollbar-width: none;
    }

    .categories::-webkit-scrollbar {
        display: none;
    }

    .category {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 12px;
        gap: 6px;
    }

    .category i {
        font-size: 12px;
    }


    /* ================= CATEGORY HEADING ================= */

    .menu-category-heading {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 32px 0 18px;
    }

    .category-heading-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    .category-heading-text span {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .category-heading-text h2 {
        font-size: 21px;
        margin-top: 2px;
    }

    .category-heading-line {
        flex: 1;
        min-width: 20px;
    }


    /* ================= PRODUCTS ================= */

    .category-products {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .menu-card {
        width: 100%;
        min-width: 0;
    }

    .card-image {
        height: 220px;
    }

    .card-body {
        padding: 15px;
    }

    .card-title-row {
        gap: 8px;
    }

    .card-title {
        font-size: 16px;
        line-height: 1.6;
    }

    .card-price {
        font-size: 14px;
        white-space: nowrap;
    }

    .card-description {
        font-size: 12px;
        line-height: 1.9;
        margin: 7px 0 12px;
    }

    .rating {
        font-size: 12px;
    }

    .add-btn {
        width: 38px;
        height: 38px;
    }

    .favorite {
        width: 38px;
        height: 38px;
        top: 10px;
        left: 10px;
    }


    /* ================= NO RESULT ================= */

    .no-result {
        padding: 45px 15px;
    }

    .no-result i {
        font-size: 35px;
    }

    .no-result h3 {
        font-size: 18px;
    }

    .no-result p {
        font-size: 12px;
    }


    /* ================= CART ================= */

    .cart-drawer {
        width: 100%;
        max-width: 100%;
        right: 0;
        border-radius: 20px 20px 0 0;
    }

    .drawer-header {
        padding: 18px 16px;
    }

    .drawer-header h3 {
        font-size: 19px;
    }

    .cart-items {
        padding: 15px;
    }

    .cart-footer {
        padding: 15px;
    }

    .checkout-btn {
        height: 50px;
        font-size: 14px;
    }


    /* ================= PRODUCT MODAL ================= */

    .modal-overlay {
        padding: 12px;
    }

    .product-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 18px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        top: 10px;
        left: 10px;
    }


    /* ================= FOOTER ================= */

    .footer {
        margin-top: 30px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 35px 18px;
        text-align: center;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-logo {
        justify-content: center;
        font-size: 19px;
    }

    .footer-brand p {
        font-size: 12px;
        line-height: 2;
        max-width: 320px;
        margin: 10px auto 0;
    }

    .footer-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 13px;
        align-items: center;
    }

    .footer-info div {
        font-size: 11px;
        line-height: 1.8;
        max-width: 330px;
    }

    .socials {
        width: 100%;
        justify-content: center;
    }

    .copyright {
        padding: 16px 12px;
        font-size: 10px;
        line-height: 2;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .header-content {
        padding: 0 10px;
    }

    .logo strong {
        font-size: 15px;
    }

    .logo small {
        font-size: 7px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .icon-btn,
    .cart-btn {
        width: 35px;
        height: 35px;
    }

    .hero {
        min-height: 430px;
    }

    .hero-content h1 {
        font-size: 29px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .menu-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card-image {
        height: 200px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-price {
        font-size: 13px;
    }

}


/* =========================================================
   LANDSCAPE MOBILE
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

    .hero {
        min-height: 420px;
    }

    .hero-content {
        padding: 25px;
    }

    .category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

