/* =========================================================
   MATSYORA - MOBILE DELIVERY AREAS
   MATCHED TO MY ORDERS / ABOUT / CONTACT MOBILE HEADER
========================================================= */

@media screen and (max-width: 768px) {

    /* ==========================================
       GLOBAL
    ========================================== */

    * {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    body {
        background: #f4f7fb;
        color: #0f172a;
        font-family: Arial, sans-serif;
        overflow-x: hidden;
    }


    /* ==========================================
       TOP HEADER
    ========================================== */

    .top-header {
        width: 100%;
        height: auto;

        padding: 12px 12px 10px;

        background: linear-gradient(
            90deg,
            #fff7ed 0%,
            #fffbeb 50%,
            #ffffff 100%
        );

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 0;

        border-bottom: 1px solid #dbeafe;

        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

        position: sticky;
        top: 0;
        z-index: 100;
    }


    /* ==========================================
       BRAND
    ========================================== */

    .brand {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 9px;

        width: fit-content;
        max-width: 100%;

        margin: 0 auto 14px;

        padding: 0;

        min-width: 0;
    }


    /* ==========================================
       LOGO
    ========================================== */

    .logo {
        width: 52px;
        height: 52px;

        margin: 0;
        padding: 0;

        flex-shrink: 0;

        display: flex;

        align-items: center;
        justify-content: center;
    }

    .logo img {
        width: 100px;
        height: 100px;

        object-fit: contain;

        display: block;

        margin: 0;
        padding: 0;

        transform: none;
    }


    /* ==========================================
       BRAND TEXT
    ========================================== */

    .brand > div:last-child {
        display: flex;

        flex-direction: column;

        align-items: flex-start;
        justify-content: center;

        min-width: 0;
    }

    .brand h2 {
        margin: 0;

        padding: 0;

        font-size: 38px;

        line-height: 0.95;

        font-weight: 800;

        letter-spacing: -1.4px;

        white-space: nowrap;

        color: #0b376d;
    }

    .brand h2 span {
        color: #ff8c00;
    }

    .brand p {
        margin: 5px 0 0;

        padding: 0;

        font-size: 12px;

        line-height: 1.2;

        font-weight: 500;

        color: #5d6b82;

        letter-spacing: 0.1px;

        white-space: nowrap;
    }


    /* ==========================================
       SEARCH AREA
    ========================================== */

    .search-area {
        display: none;
    }


    /* ==========================================
       NAVIGATION
    ========================================== */

    .nav-buttons {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;

        width: 100%;

        margin: 0;
    }

    .nav-buttons .outline-btn {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;

        min-width: 0;

        padding: 14px 8px;

        background: #ffffff;

        border: 1px solid #3b82f6;
        border-radius: 16px;

        color: #2563eb;

        font-size: 15px;
        font-weight: 700;

        text-decoration: none;

        white-space: nowrap;
    }

    .nav-buttons .outline-btn.green {
        border-color: #22c55e;

        color: #16a34a;
    }

    .nav-buttons .outline-btn.red {
        border-color: #ef4444;

        color: #dc2626;
    }


    /* ==========================================
       DELIVERY HERO
    ========================================== */

    .delivery-hero {
        position: relative;

        width: 100%;

        min-height: 0;

        overflow: hidden;

        display: flex;

        align-items: center;
        justify-content: center;

        padding: 44px 18px 54px;

        color: #ffffff;

        text-align: center;

        background:
            radial-gradient(
                circle at 15% 25%,
                rgba(54, 186, 205, 0.28),
                transparent 30%
            ),
            radial-gradient(
                circle at 85% 65%,
                rgba(45, 158, 181, 0.26),
                transparent 32%
            ),
            linear-gradient(
                135deg,
                #064b5c,
                #087b91
            );
    }

    .delivery-hero::before {
        content: "";

        position: absolute;

        inset: 0;

        background:
            repeating-radial-gradient(
                ellipse at 30% 120%,
                transparent 0,
                transparent 24px,
                rgba(255, 255, 255, 0.025) 26px,
                transparent 28px
            );

        pointer-events: none;
    }

    .delivery-hero::after {
        display: none;
    }

    .hero-content {
        position: relative;

        z-index: 2;

        width: 100%;

        max-width: 100%;
    }

    .hero-eyebrow {
        min-height: 0;

        margin: 0;
        padding: 0;
    }

    .hero-divider {
        width: 74px;
        height: 4px;

        margin: 0 auto;

        background: #f28b22;

        border-radius: 999px;
    }


    /* ==========================================
       DELIVERY CONTAINER
    ========================================== */

    .delivery-container {
        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        padding: 20px 14px 38px;

        position: relative;

        z-index: 3;
    }


    /* ==========================================
       INTRO CARD
    ========================================== */

    .intro-card {
        display: block;

        width: 100%;

        min-height: 0;

        margin: 0;

        padding: 23px 17px;

        background: #ffffff;

        border: 1px solid #e2e8f0;
        border-radius: 16px;

        box-shadow: 0 6px 20px rgba(8, 76, 88, 0.09);

        text-align: center;
    }

    .intro-icon {
        width: 68px;
        height: 68px;

        margin: 0 auto 15px;

        display: flex;

        align-items: center;
        justify-content: center;

        background: #e7f7f9;

        border-radius: 50%;

        font-size: 31px;
    }

    .intro-content h2 {
        margin: 0 0 10px;

        color: #074653;

        font-size: 23px;
        font-weight: 800;

        line-height: 1.3;
    }

    .intro-content p {
        margin: 0;

        color: #55757b;

        font-size: 13.5px;

        line-height: 1.65;
    }

    .delivery-visual {
        display: none;
    }


    /* ==========================================
       SECTION HEADING
    ========================================== */

    .section-heading {
        width: 100%;

        margin: 38px auto 21px;

        padding: 0 2px;

        text-align: center;
    }

    .section-label {
        display: inline-block;

        margin: 0 0 7px;

        color: #f28b22;

        font-size: 11px;
        font-weight: 800;

        letter-spacing: 1.2px;

        text-transform: uppercase;
    }

    .section-heading h2 {
        margin: 0;

        color: #074653;

        font-size: 25px;
        font-weight: 800;

        line-height: 1.25;
    }

    .section-heading p {
        margin: 8px auto 0;

        max-width: 350px;

        color: #55757b;

        font-size: 13.5px;

        line-height: 1.6;
    }


    /* ==========================================
       COVERAGE GRID
    ========================================== */

    .coverage-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        width: 100%;
    }

    .coverage-card {
        width: 100%;

        min-height: 0;

        padding: 18px 16px;

        background: #ffffff;

        border: 1px solid #dbecef;
        border-radius: 14px;

        box-shadow: 0 4px 15px rgba(13, 81, 92, 0.06);

        transition: none;
    }

    .coverage-card:hover {
        transform: none;

        border-color: #dbecef;

        box-shadow: 0 4px 15px rgba(13, 81, 92, 0.06);
    }

    .coverage-icon {
        width: 44px;
        height: 44px;

        margin: 0 0 12px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 50%;

        font-size: 21px;
    }

    .coverage-card h3 {
        margin: 0 0 7px;

        color: #074653;

        font-size: 17px;
        font-weight: 700;

        line-height: 1.3;
    }

    .coverage-card p {
        margin: 0;

        color: #55757b;

        font-size: 13px;

        line-height: 1.6;
    }


    /* ==========================================
       LOCATIONS CARD
    ========================================== */

    .locations-card {
        width: 100%;

        padding: 18px 14px;

        background: #ffffff;

        border: 1px solid #dbecef;
        border-radius: 15px;

        box-shadow: 0 5px 16px rgba(10, 73, 84, 0.07);
    }

    .locations-card-header {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;

        margin-bottom: 16px;
    }

    .locations-card-header h3 {
        margin: 0;

        color: #074653;

        font-size: 19px;
        font-weight: 800;

        line-height: 1.3;
    }

    .locations-card-header span {
        padding: 5px 10px;

        background: #edf8fa;

        border-radius: 999px;

        color: #075f70;

        font-size: 11px;
        font-weight: 700;
    }


    /* ==========================================
       LOCATION LIST
    ========================================== */

    .location-list {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 8px;

        width: 100%;
    }

    .location-item {
        min-width: 0;

        padding: 10px 7px;

        background: #f4fbfc;

        border: 1px solid #dcecef;
        border-radius: 9px;

        color: #36646c;

        font-size: 11.5px;
        font-weight: 700;

        line-height: 1.3;

        text-align: center;

        word-break: break-word;

        transition: none;
    }

    .location-item:hover {
        background: #f4fbfc;

        border-color: #dcecef;

        transform: none;
    }

    .location-note {
        margin-top: 15px;

        padding: 11px 12px;

        background: #fff8eb;

        border: 1px solid #f3dfb8;
        border-radius: 9px;

        color: #755620;

        font-size: 11.5px;

        line-height: 1.5;

        text-align: center;
    }


    /* ==========================================
       PINCODE SECTION
    ========================================== */

    .pincode-section {
        width: 100%;

        margin-top: 38px;

        padding: 24px 16px;

        display: grid;

        grid-template-columns: 1fr;

        gap: 18px;

        background:
            linear-gradient(
                135deg,
                #087486,
                #074c5a
            );

        border-radius: 16px;

        color: #ffffff;

        overflow: hidden;

        position: relative;

        text-align: center;
    }

    .pincode-section::after {
        font-size: 100px;

        right: -20px;

        bottom: -35px;
    }

    .pincode-content {
        position: relative;

        z-index: 2;
    }

    .pincode-content h2 {
        margin: 0 0 9px;

        color: #ffffff;

        font-size: 23px;
        font-weight: 800;

        line-height: 1.25;
    }

    .pincode-content p {
        margin: 0 auto;

        max-width: 340px;

        color: #d9f5f8;

        font-size: 13.5px;

        line-height: 1.6;
    }


    /* ==========================================
       PINCODE FORM
    ========================================== */

    .pincode-form-wrapper {
        position: relative;

        z-index: 2;
    }

    .pincode-form {
        display: flex;

        flex-direction: column;

        gap: 8px;

        width: 100%;

        padding: 7px;

        background: #ffffff;

        border-radius: 11px;

        box-shadow: 0 6px 16px rgba(2, 39, 47, 0.16);
    }

    .pincode-form input {
        width: 100%;

        min-width: 0;

        padding: 12px 12px;

        border: 1px solid #e2e8f0;
        border-radius: 8px;

        outline: none;

        color: #244e55;

        background: #ffffff;

        font-size: 14px;
    }

    .pincode-form button {
        width: 100%;

        padding: 12px 14px;

        background: #f28b22;

        border: none;
        border-radius: 8px;

        color: #ffffff;

        font-size: 13.5px;
        font-weight: 800;

        cursor: pointer;

        transition: none;
    }

    .pincode-form button:hover,
    .pincode-form button:active {
        background: #f28b22;

        transform: none;
    }

    #pincode-message {
        min-height: 20px;

        margin: 9px 0 0;

        color: #ffffff;

        font-size: 12px;
        font-weight: 700;

        line-height: 1.4;

        text-align: center;
    }


    /* ==========================================
       INFORMATION GRID
    ========================================== */

    .information-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;

        width: 100%;

        margin-top: 38px;
    }


    /* ==========================================
       INFORMATION CARD / SUPPORT CARD
    ========================================== */

    .information-card,
    .support-card {
        width: 100%;

        padding: 19px 16px;

        background: #ffffff;

        border: 1px solid #dbecef;
        border-radius: 15px;

        box-shadow: 0 5px 16px rgba(10, 73, 84, 0.06);
    }

    .information-card h2,
    .support-card h2 {
        margin: 0 0 15px;

        color: #074653;

        font-size: 20px;
        font-weight: 800;

        line-height: 1.25;
    }


    /* ==========================================
       INFORMATION LIST
    ========================================== */

    .information-list {
        display: grid;

        gap: 12px;
    }

    .information-item {
        display: grid;

        grid-template-columns: 30px 1fr;

        gap: 10px;

        align-items: start;
    }

    .information-check {
        width: 28px;
        height: 28px;

        display: flex;

        align-items: center;
        justify-content: center;

        background: #e8f7ee;

        border-radius: 50%;

        color: #159555;

        font-size: 13px;
        font-weight: 800;
    }

    .information-item p {
        margin: 0;

        color: #55757b;

        font-size: 12.5px;

        line-height: 1.55;
    }


    /* ==========================================
       SUPPORT CARD
    ========================================== */

    .support-card {
        display: flex;

        flex-direction: column;

        justify-content: center;

        background:
            linear-gradient(
                145deg,
                #fffaf3,
                #ffffff
            );

        border-color: #f1dfc7;
    }

    .support-icon {
        width: 50px;
        height: 50px;

        margin: 0 0 13px;

        display: flex;

        align-items: center;
        justify-content: center;

        background: #fff0df;

        border-radius: 50%;

        font-size: 23px;
    }

    .support-card p {
        margin: 0 0 16px;

        color: #55757b;

        font-size: 13px;

        line-height: 1.6;
    }


    /* ==========================================
       PRIMARY BUTTON
    ========================================== */

    .primary-btn {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;

        padding: 12px 16px;

        background: #f28b22;

        border-radius: 9px;

        color: #ffffff;

        font-size: 13.5px;
        font-weight: 800;

        text-align: center;

        transition: none;
    }

    .primary-btn:hover,
    .primary-btn:active {
        background: #f28b22;

        transform: none;

        box-shadow: none;
    }


    /* ==========================================
       FOOTER
    ========================================== */

    footer {
        width: 100%;

        padding: 18px 14px;

        background: #063f4b;

        color: #d9eef1;

        text-align: center;

        font-size: 11.5px;

        line-height: 1.5;
    }

    footer p {
        margin: 0;
    }

    footer a {
        color: #ffffff;

        font-weight: 700;
    }


    /* ==========================================
       SMALL PHONES
    ========================================== */

    @media (max-width: 390px) {

        .top-header {
            padding-left: 10px;
            padding-right: 10px;
        }

        .brand {
            gap: 7px;

            margin-bottom: 12px;
        }

        .logo {
            width: 48px;
            height: 48px;
        }

        .logo img {
            width: 92px;
            height: 92px;
        }

        .brand h2 {
            font-size: 34px;
        }

        .brand p {
            font-size: 11px;
        }

        .nav-buttons {
            gap: 8px;
        }

        .nav-buttons .outline-btn {
            padding: 12px 6px;

            font-size: 14px;
        }

        .delivery-hero {
            padding: 38px 14px 48px;
        }

        .delivery-container {
            padding-left: 10px;
            padding-right: 10px;
        }

        .intro-card {
            padding: 20px 14px;
        }

        .intro-content h2 {
            font-size: 21px;
        }

        .section-heading h2 {
            font-size: 23px;
        }

        .coverage-card {
            padding: 16px 14px;
        }

        .locations-card {
            padding: 16px 11px;
        }

        .location-list {
            gap: 7px;
        }

        .location-item {
            padding: 9px 5px;

            font-size: 10.5px;
        }

        .pincode-section {
            padding: 21px 14px;
        }

        .pincode-content h2 {
            font-size: 21px;
        }

        .information-card,
        .support-card {
            padding: 17px 14px;
        }

        .information-card h2,
        .support-card h2 {
            font-size: 19px;
        }
    }
}