/* ==========================================
   MATSYORA - MOBILE HOMEPAGE
========================================== */

@media screen and (max-width: 768px) {

    /* ==========================================
       GLOBAL
    ========================================== */

    * {
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 10px;
    }


    /* ==========================================
       HEADER
    ========================================== */

    .top-header {
        padding: 12px 12px 10px;
    }


    /* ==========================================
       PROFESSIONAL MATSYORA BRAND
    ========================================== */

    .brand {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 9px;

        width: fit-content;
        max-width: 100%;

        margin: 0 auto 14px;

        padding: 0;
    }

    /* ==========================================
       FISH 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;
    }


    /* ==========================================
       WORDMARK AREA
    ========================================== */

    .brand > div:last-child {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        min-width: 0;
    }


    /* ==========================================
       MATSYORA WORDMARK
    ========================================== */

    .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;
    }

    /* Orange "ora" */
    .brand h2 span {
        color: #ff8c00;
    }


    /* ==========================================
       TAGLINE
    ========================================== */

    .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
    ========================================== */

    .search-area {
        width: 100%;
    }

    .search-box {
        width: 100%;

        height: 52px;

        font-size: 14px;

        padding: 0 16px;

        border-radius: 16px 0 0 16px;
    }

    .search-btn {
        width: 60px;

        border-radius: 0 16px 16px 0;
    }


    /* ==========================================
       NAVIGATION
    ========================================== */

    .nav-buttons {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .outline-btn {
        display: flex;

        align-items: center;
        justify-content: center;

        padding: 14px 8px;

        font-size: 15px;

        border-radius: 16px;
    }

    .cart-badge {
        top: -5px;

        right: -5px;
    }


    /* ==========================================
       HERO
    ========================================== */

    .hero {
        position: relative;

        height: 220px;

        padding: 0;

        overflow: hidden;

        border-radius: 18px;

        margin-top: 10px;

        background-size: cover;

        background-position: center;

        display: flex;

        align-items: center;

        justify-content: center;
    }

    .hero::before {
        content: "";

        position: absolute;

        inset: 0;

        background: rgba(255, 255, 255, 0.45);
    }

    .hero-content {
        position: relative;

        z-index: 2;

        padding: 20px;

        text-align: center;

        width: 100%;
    }

    .hero-content h1 {
        margin: 0 0 8px;

        font-size: 34px;

        font-weight: 800;
    }

    .hero-content h2 {
        margin: 0 0 12px;

        font-size: 22px;

        font-weight: 700;
    }

    .hero-content p {
        margin: 0;

        font-size: 16px;

        line-height: 1.5;

        max-width: 320px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        display: none;
    }


    /* ==========================================
       PRODUCTS
    ========================================== */

    .products {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

        margin-top: 18px;

        padding-bottom: 20px;
    }

    .card {
        width: 100%;

        overflow: hidden;

        border-radius: 18px;

        background: #fff;

        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    }

    .card img {
        width: 100%;

        height: 140px;

        object-fit: cover;

        display: block;
    }

    .card h3 {
        padding: 12px 12px 0;

        margin: 0;

        font-size: 16px;

        line-height: 1.4;

        min-height: 48px;
    }

    .price-line {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        padding: 8px 12px;

        gap: 4px;
    }

    .price-tag {
        margin: 0;

        font-size: 22px;

        font-weight: 700;
    }

    .unit,
    .yield-inline {
        font-size: 11px;
    }

    .add-btn {
        width: calc(100% - 24px);

        margin: 0 12px 12px;

        padding: 12px;

        font-size: 13px;

        border-radius: 10px;
    }

    .qty-box {
        padding: 12px;

        gap: 8px;
    }

    .qty-box button {
        width: 34px;

        height: 34px;
    }

    .qty {
        font-size: 15px;
    }


    /* ==========================================
       WHY US
    ========================================== */

    .why-us {
        padding: 25px 12px;
    }

    .feature-box {
        margin-bottom: 12px;

        padding: 18px;

        border-radius: 14px;
    }


    /* ==========================================
       FOOTER
    ========================================== */

    .footer-container {
        display: grid;

        grid-template-columns: 1fr;

        text-align: center;

        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column a {
        display: block;

        margin-bottom: 8px;
    }


    /* ==========================================
       WHATSAPP
    ========================================== */

    .whatsapp-float {
        position: fixed !important;

        display: flex !important;

        align-items: center;
        justify-content: center;

        right: 18px;

        bottom: 85px;

        width: 62px;
        height: 62px;

        background: #25D366;

        border-radius: 50%;

        visibility: visible !important;

        opacity: 1 !important;

        z-index: 99999 !important;
    }

    .whatsapp-icon {
        width: 38px;
        height: 38px;

        fill: #ffffff;
    }

}