
/* === Search bar visual styling — applies on ALL breakpoints === */
.pp-nav-search {
    background: #284f36 !important;
    border: 1.5px solid #EDFA70 !important;
    border-radius: 8px !important;
    overflow: visible !important;
}
.pp-nav-search-input {
    background: transparent !important;
    color: #F2EAD4 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
}
.pp-nav-search-input::placeholder {
    color: rgba(242, 234, 212, 0.7) !important;
}
.pp-nav-search-submit {
        flex-shrink: 0 !important;
        background: #EDFA70 !important;
        color: #356746 !important;
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        margin-right: 4px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
/* ===========================================================
   Mobile polish for People's Pantry — aligned with iOS mockup
   - 2x2 hero cards (all 4 visible at first glance)
   - Persistent full-width search row below logo
   - Smaller logo on mobile
   - Branded "How It Works" icon treatment
   - outGROW tagline visible on all breakpoints
   =========================================================== */

/* ---- Search bar (sitewide) ---- */
@media (max-width: 768px) {
    .pp-nav { flex-wrap: wrap !important; }
    .pp-nav-search {
        display: flex !important;
        order: 99 !important;
        flex: 1 0 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        height: 44px !important;
        background: #284f36 !important;
        border: 1.5px solid #EDFA70 !important;
        border-radius: 8px !important;
        overflow: visible !important;
    }
    .pp-nav-search-input {
        flex: 1 1 auto !important;
        background: transparent !important;
        color: #F2EAD4 !important;
        font-size: 16px !important;  /* 16px = no iOS zoom */
        font-weight: 600;
        padding: 10px 14px !important;
        border: none !important;
        min-width: 0;
    }
    .pp-nav-search-input::placeholder {
        color: rgba(242, 234, 212, 0.7) !important;
    }
    .pp-nav-search-submit {
        flex-shrink: 0 !important;
        background: #EDFA70 !important;
        color: #356746 !important;
        border-radius: 0 !important;
        padding: 0 16px !important;
        height: 100% !important;
        min-width: 50px !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.06em;
    }
    .pp-nav-search-submit svg { width: 18px; height: 18px; }
}

/* ---- Logo sizing on mobile ---- */
@media (max-width: 768px) {
    .pp-nav-logo-img {
        height: 36px !important;
        max-width: 150px !important;
    }
}
@media (max-width: 575px) {
    .pp-nav-logo-img {
        height: 32px !important;
        max-width: 130px !important;
    }
    .locationMarker { display: none !important; }
}


/* ---- How It Works section — branded icon treatment ---- */
.pp-how-step .step-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(53, 103, 70, .1); color: #356746;
    font-size: 24px; margin-bottom: 14px;
    transition: all .2s ease;
}
.pp-how-step:hover .step-icon {
    background: #356746; color: #EDFA70;
    transform: translateY(-2px);
}
.pp-how-step h5 {
    color: #F2EAD4 !important;
    font-family: 'PP Woodland', serif; font-weight: 500;
    font-size: 17px; margin-bottom: 6px;
}
.pp-how-step p {
    color: rgba(94, 76, 42, .7);
    font-size: 14px; line-height: 1.5;
}

/* ===========================================================
   Mobile vendor sidebar drawer (existing)
   =========================================================== */
.vendor-mobile-nav-toggle { display: none; }
.vendor-mobile-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 999; }
.vendor-mobile-nav-close-x { display: none; }

@media (max-width: 991px) {
    .vendor-mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center; gap: 8px;
        background: #356746; color: #EDFA70 !important; border: none;
        padding: 10px 20px; border-radius: 24px;
        font-family: 'Planc', sans-serif; font-weight: 600; font-size: 14px;
        cursor: pointer; margin: 12px 0 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,.1);
    }
    .vendor-mobile-nav-toggle:hover { background: #2a5036; }
    .vendor-mobile-nav-toggle span { color: #EDFA70; }

    .vender-product-management.div-flex { flex-direction: column !important; }

    .vender-menu.vendor-aside {
        position: fixed !important;
        top: 0 !important; left: -100% !important;
        width: 280px !important; max-width: 85vw !important;
        height: 100vh !important;
        background: #f5f3ee !important;
        z-index: 1000 !important;
        transition: left .3s ease !important;
        overflow-y: auto !important;
        padding: 60px 16px 24px !important;
        box-shadow: 2px 0 20px rgba(0,0,0,.15) !important;
    }
    body.vendor-nav-open .vender-menu.vendor-aside { left: 0 !important; }
    body.vendor-nav-open .vendor-mobile-nav-backdrop { display: block !important; }
    body.vendor-nav-open { overflow: hidden !important; }

    .vendor-mobile-nav-close-x {
        display: block !important;
        position: absolute; top: 12px; right: 14px;
        background: none; border: none;
        font-size: 32px; line-height: 1;
        color: #356746; cursor: pointer;
        padding: 4px 10px;
    }
}


/* === How It Works: 2x2 on mobile with darker text === */
@media (max-width: 767px) {
    .pp-how-it-works .col-md-3.pp-how-step {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 14px 10px !important;
        margin-bottom: 12px !important;
        text-align: center;
    }
    .pp-how-it-works .pp-how-step .step-icon {
        width: 54px !important; height: 54px !important;
        font-size: 22px !important; margin-bottom: 10px;
    }
    .pp-how-it-works .pp-how-step h5 {
        font-size: 14px !important; margin-bottom: 4px;
        color: #F2EAD4 !important;
    }
    .pp-how-it-works .pp-how-step p {
        font-size: 12px !important; line-height: 1.4;
        color: #F2EAD4 !important;
    }
}

/* ---- Hero section: 2x2 cards, headline clear of sticky search bar ---- */
@media (max-width: 767px) {
    .pp-hero { padding: 170px 14px 16px !important; }
    .pp-hero h1, .pp-hero h2 {
        font-size: 26px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
    }
    .pp-hero p {
        font-size: 13px !important;
        margin: 10px 0 0 !important;
        line-height: 1.35 !important;
    }
    .pp-hero .hero-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 14px !important;
    }
    .pp-hero .hero-cards > * {
        aspect-ratio: 3 / 4 !important;
        min-height: unset !important;
    }
    .pp-hero .hero-cards h3 { font-size: 15px !important; line-height: 1.2; }
    .pp-hero .hero-cards p { font-size: 11px !important; line-height: 1.35; margin: 0 !important; }
}

/* ---- Mobile nav logo: centered stack with equidistant divider (per DevTools audit) ---- */
@media (max-width: 991px) {
    .pp-nav-logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        line-height: 1 !important;
    }
    .pp-nav-logo-img {
        height: 42px !important;
        width: auto !important;
        max-width: 170px !important;
        display: block !important;
        margin: 6px auto 0 !important;
    }
    .pp-nav-tagline {
        display: block !important;
        width: 100% !important;
        font-size: 12px !important;
        letter-spacing: 1.8px !important;
        margin-top: 3px !important;
        padding-top: 7px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 575px) {
    .pp-nav-logo-img {
        height: 42px !important;
        max-width: 170px !important;
    }
    .pp-nav-tagline {
        font-size: 11px !important;
        letter-spacing: 1.8px !important;
        margin-top: 2px !important;
        padding-top: 6px !important;
        text-align: center !important;
    }
}

/* ---- Round search button on mobile (matches desktop circle treatment) ---- */
@media (max-width: 991px) {
    .pp-nav-search-submit {
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        padding: 0 !important;
        margin: 4px 6px 4px 4px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #EDFA70 !important;
        color: #356746 !important;
        flex-shrink: 0 !important;
    }
    .pp-nav-search-submit svg { width: 18px !important; height: 18px !important; }
}
