.search-nearby-restaurants-wrapper {
    padding: 2rem 0 3rem;
    background: #f6f8f5;
}

.nearby-results-main {
    padding: 0;
}

.nearby-main-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.nearby-main-heading h1 {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.nearby-location-pill {
    margin: 0;
    padding: 0.6rem 0.92rem;
    border-radius: 0.6rem;
    background: #ffffff;
    color: #5e656d;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

.nearby-location-pill i {
    color: #7cab1f;
}

.nearby-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.95rem;
}

.nearby-search-form input {
    width: 100%;
    border: 0.15rem solid #ffffff;
    border-radius: 0.61rem;
    background: #ffffff;
    color: #535b64;
    font-size: 0.79rem;
    padding: 0.6rem 0.75rem 0.6rem 1.7rem;
    outline: none;
}

.nearby-search-form input::placeholder {
    color: #8e98a2;
}

.nearby-search-icon {
    position: absolute;
    left: 0.62rem;
    top: 50%;
    transform: translateY(-50%);
    color: #96a0aa;
    font-size: 0.82rem;
    pointer-events: none;
}

.nearby-search-button {
    white-space: nowrap;
    text-transform: none;
}

.nearby-feedback {
    margin: 0 0 0.72rem;
    color: #576367;
    font-size: 0.86rem;
}

.nearby-feedback-error {
    color: #b63e3e;
}

.restaurant-item-card {
    border-radius: 0.68rem;
    background: #ffffff;
    min-height: 7.35rem;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    height: 100%;
}

.restaurant-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 3rem;
}

.restaurant-item-header h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 600;
    text-transform: none;
}

.restaurant-item-status {
    margin: 0;
    border-radius: 999px;
    background: rgba(114, 172, 62, 0.22);
    color: #1e1e1e;
    font-size: 0.64rem;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.restaurant-item-status i {
    color: #74ab46;
}

.restaurant-item-line,
.restaurant-item-contact {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    line-height: 1.2;
}

.restaurant-item-line {
    color: #576367;
    font-size: 0.9rem;
}

.restaurant-item-line i {
    color: #74ab46;
}

.restaurant-item-contact {
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: space-between;
}

.restaurant-item-phone {
    text-decoration: none;
    color: #74ab46;
    font-size: 1.14rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.restaurant-item-phone-muted {
    color: #8c959e;
    font-size: 1rem;
    font-weight: 600;
}

.restaurant-item-website {
    text-decoration: none;
    color: #576367;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.restaurant-item-website i {
    color: inherit;
}

.restaurant-item-additional {
    color: #76828c;
    font-size: 0.9rem;
}

.restaurant-item-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.restaurant-drivein-button {
    --bs-btn-padding-x: 0.9rem;
    --bs-btn-font-size: 0.9rem;
    --bs-btn-border-radius: 0.42rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nearby-pagination-wrapper {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

.nearby-pagination {
    margin: 0;
    gap: 0.35rem;
}

.nearby-pagination .page-link {
    border: 1px solid #e1e6ec;
    color: #56616b;
    background: #ffffff;
    border-radius: 0.42rem;
    min-width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
}

.nearby-pagination .page-item.active .page-link {
    border-color: #72ac3e;
    background: #72ac3e;
    color: #ffffff;
}

.nearby-pagination .page-item.disabled .page-link {
    color: #99a4ae;
    background: #f8fafb;
    border-color: #ebf0f4;
}

@media screen and (max-width: 1199px) {
    .nearby-main-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .nearby-location-pill {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .search-nearby-restaurants-wrapper {
        padding-top: 1.35rem;
    }

    .nearby-search-form {
        flex-wrap: wrap;
    }

    .nearby-search-button {
        width: 100%;
    }

    .restaurant-item-header h3 {
        font-size: 1.16rem;
    }

    .restaurant-item-phone {
        font-size: 1rem;
    }

    .nearby-pagination .page-link {
        min-width: 1.85rem;
        height: 1.85rem;
    }
}
